stop build when an error occurs and when BUILDLOG is set (#5160)
[openwrt.git] / package / mac80211 / files / lib / wifi / mac80211.sh
index 77c7976..2721e4d 100644 (file)
@@ -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
This page took 0.02384 seconds and 4 git commands to generate.