mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mac80211: fix a warning during interface bringup when using autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18034 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
34cc3f1c9f
commit
db74177204
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user