mac80211: fix not set noscan option for wpa_supplicant
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 8 Nov 2023 15:44:38 +0000 (16:44 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Nov 2023 14:58:34 +0000 (15:58 +0100)
noscan option was changed to hostapd_noscan but the entry in
wpa_supplicant was never updated resulting in the noscan option actually
never set.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

index 860609305f4539e33eec7a9d3460e7552ef02566..1bf4db6e5f0554bce5e93d024563becd10ec81ba 100644 (file)
@@ -940,7 +940,7 @@ mac80211_setup_supplicant() {
        if [ "$mode" = "sta" ]; then
                wpa_supplicant_add_network "$ifname"
        else
-               wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$noscan"
+               wpa_supplicant_add_network "$ifname" "$freq" "$htmode" "$hostapd_noscan"
        fi
 
        wpa_supplicant_add_interface "$ifname" "$mode"