mac80211: pass down noscan to wpa_supplicant
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index bf9d52a..16e32a9 100644 (file)
@@ -524,7 +524,7 @@ mac80211_setup_supplicant() {
 
 mac80211_setup_supplicant_noctl() {
        wpa_supplicant_prepare_interface "$ifname" nl80211 || return 1
-       wpa_supplicant_add_network "$ifname" "$freq" "$htmode"
+       wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$noscan"
        wpa_supplicant_run "$ifname"
 }