X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2eb1c2d1df2f93d1722ddee225a21561c689f689..f6ceb966a6d45934fb5ebf157f4e4f30652ea8ca:/package/mac80211/files/lib/wifi/mac80211.sh?ds=inline diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index b3072b79b..b20785cf6 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -10,6 +10,7 @@ mac80211_hostapd_setup_base() { config_get country "$device" country config_get hwmode "$device" hwmode config_get channel "$device" channel + config_get_bool noscan "$device" noscan [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device" [ "$channel" = auto ] && channel= [ -n "$hwmode" ] && { @@ -32,7 +33,6 @@ mac80211_hostapd_setup_base() { cat > "$cfgfile" <