projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8243f3c
)
adhoc has issues with bgscan as well
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 10 Aug 2007 23:28:05 +0000
(23:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 10 Aug 2007 23:28:05 +0000
(23:28 +0000)
SVN-Revision: 8394
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 9f464065a73287e096c25f5194612dd9a9d03a7b..2a86e919056e9b21ee5444e7a0a5355036833773 100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-157,10
+157,8
@@
enable_atheros() {
esac
config_get ssid "$vif" ssid
- [ "$mode" = "sta" ] && {
- config_get_bool bgscan "$vif" bgscan 0
- iwpriv "$ifname" bgscan "$bgscan"
- }
+ config_get_bool bgscan "$vif" bgscan 0
+ iwpriv "$ifname" bgscan "$bgscan"
config_get_bool antdiv "$device" diversity 1
sysctl -w dev."$device".diversity="$antdiv" >&-