add a workaround for devices that only start beaconing after scanning, that is almost...
authorFlorian Fainelli <florian@openwrt.org>
Wed, 25 Mar 2009 15:54:13 +0000 (15:54 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 25 Mar 2009 15:54:13 +0000 (15:54 +0000)
SVN-Revision: 15041

package/mac80211/files/lib/wifi/mac80211.sh

index 77c79763512c0422110ce20160d85b71af7cba20..47be5807baf93013a03654f62609e2c08106a968 100644 (file)
@@ -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