diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 15:06:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 15:06:12 +0000 |
commit | d06c15c265e9d3b91763005a827c9bb722f9b425 (patch) | |
tree | d0b4c52658873a2f7bee519fb9dbd56be0ce6151 /package/mac80211 | |
parent | 35ae0abbe0e2d8713a0ddcb047b253371f99b213 (diff) | |
download | mtk-20170518-d06c15c265e9d3b91763005a827c9bb722f9b425.zip mtk-20170518-d06c15c265e9d3b91763005a827c9bb722f9b425.tar.gz mtk-20170518-d06c15c265e9d3b91763005a827c9bb722f9b425.tar.bz2 |
mac80211: fix a warning during interface bringup when using autochannel
SVN-Revision: 18034
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 29c1041..6c5359a 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -147,7 +147,7 @@ enable_mac80211() { # We attempt to set teh channel for all interfaces, although # mac80211 may not support it or the driver might not yet - [ -n "$fixed" ] && iw dev "$ifname" set channel "$channel" + [ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel" local key keystring |