Revert "mac80211: pass hostapd control socket to mesh-mode supplicant"
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index cdc155405ee9ab931905e87864523ce97db8e245..bf9d52ae4203c294e25487f1678cfcd25e7a1dce 100644 (file)
@@ -629,17 +629,11 @@ mac80211_setup_vif() {
 
        case "$mode" in
                mesh)
-                       # authsae or wpa_supplicant
                        json_get_vars key
                        if [ -n "$key" ]; then
-                               if [ -e "/lib/wifi/authsae.sh" ]; then
-                                       . /lib/wifi/authsae.sh
-                                       authsae_start_interface || failed=1
-                               else
-                                       wireless_vif_parse_encryption
-                                       freq="$(get_freq "$phy" "$channel")"
-                                       mac80211_setup_supplicant_noctl || failed=1
-                               fi
+                               wireless_vif_parse_encryption
+                               freq="$(get_freq "$phy" "$channel")"
+                               mac80211_setup_supplicant_noctl || failed=1
                        else
                                json_get_vars mesh_id mcast_rate