package/hotplug2: refresh patches
[openwrt.git] / package / mac80211 / files / lib / wifi / mac80211.sh
index 4d6d50f..5991b4c 100644 (file)
@@ -353,8 +353,7 @@ enable_mac80211() {
                ifconfig "$ifname" up
 
                if [ ! "$mode" = "ap" ]; then
-                       mac80211_start_vif "$vif" "$ifname"
-
+                       ifconfig "$ifname" up
                        case "$mode" in
                                adhoc)
                                        config_get bssid "$vif" bssid
@@ -372,6 +371,7 @@ enable_mac80211() {
                                        fi
                                ;;
                        esac
+                       mac80211_start_vif "$vif" "$ifname"
                fi
        done
 
This page took 0.02193 seconds and 4 git commands to generate.