aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit95d95a757bd197069a17855e935781300c91a756 (patch)
treee168ccc560f3cce2794e22a8f55f9a4afa07bde4 /package
parent4fdfc8ee0e7169cfdb3c1479a2f58ba472407277 (diff)
downloadupstream-95d95a757bd197069a17855e935781300c91a756.tar.gz
upstream-95d95a757bd197069a17855e935781300c91a756.tar.bz2
upstream-95d95a757bd197069a17855e935781300c91a756.zip
add a workaround for devices that only start beaconing after scanning, that is almost every driver except b43
SVN-Revision: 15041
Diffstat (limited to 'package')
-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