X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e6d9c8710c5c27c2249c333b5aa5429a9ef2338b..f29bf60fb1e17b3be80e9127332c53fcaebee55b:/package/mac80211/files/lib/wifi/mac80211.sh?ds=sidebyside diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 77c797635..2721e4d7c 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -54,6 +54,7 @@ enable_mac80211() { local first=1 local mesh_idx=0 + wifi_fixup_hwmode "$device" "g" for vif in $vifs; do ifconfig "$ifname" down 2>/dev/null config_get ifname "$vif" ifname @@ -174,6 +175,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