projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ae0ab
)
mac80211: fix a warning during interface bringup when using autochannel
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Oct 2009 15:06:12 +0000
(15:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 11 Oct 2009 15:06:12 +0000
(15:06 +0000)
SVN-Revision: 18034
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 29c1041bfd083e985bd9d77c5cd5194b3f077f3d..6c5359a1bbe7bb98b64a469c2ceef7afde736830 100644
(file)
--- 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