From: Florian Fainelli Date: Wed, 25 Mar 2009 15:54:13 +0000 (+0000) Subject: [package] add a workaround for devices that only start beaconing after scanning,... X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=daff7e3f1a508932c4842f0801a16a393a3efb3f;p=15.05%2Fopenwrt.git [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 --- 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