From fe9634bd9652c00c2dd5be170dd2eb45b62fe503 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 25 Mar 2009 15:54:13 +0000 Subject: [PATCH] [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 --- package/mac80211/files/lib/wifi/mac80211.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 77c797635..47be5807b 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 -- 2.20.1