Skip to content

Commit

Permalink
airmon-ng.linux: further gross handling of wilc
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroChaos- committed Dec 22, 2023
1 parent ab9d73b commit 391e7d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/airmon-ng.linux
Expand Up @@ -644,6 +644,9 @@ setChannelMac80211() {
# everyone else defaults to channel 1
CH="1"
fi
elif [ "${DRIVER}" = "wil6210" ] && [ "${CH}" -lt "58320" ]; then
printf "wil6210 doesn't support setting by channel, please specify a frequency\n"
exit 1
fi

if [ -n "${CH}" ]; then
Expand Down

0 comments on commit 391e7d2

Please sign in to comment.