aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-25 15:54:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-25 15:54:13 +0000
commitdaff7e3f1a508932c4842f0801a16a393a3efb3f (patch)
treebd2865a1be4f57486edaae85e10b56b816f553a9 /package/mac80211
parent43769d037ee5586ca4ef6d7c788651c1ac556c04 (diff)
downloadupstream-daff7e3f1a508932c4842f0801a16a393a3efb3f.tar.gz
upstream-daff7e3f1a508932c4842f0801a16a393a3efb3f.tar.bz2
upstream-daff7e3f1a508932c4842f0801a16a393a3efb3f.zip
[package] add a workaround for devices that only start beaconing after scanning, that is almost every driver except b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15041 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 77c7976351..47be5807ba 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -174,6 +174,7 @@ enable_mac80211() {
# special case where physical interface should be down for mesh to work
ifconfig "$ifname" down
ifconfig "msh$mesh_idx" up
+ iwlist msh$mesh_idx scan 2>/dev/null >/dev/null
;;
esac
first=0