mirror of https://github.com/hak5/openwrt.git
mac80211: pass down noscan to wpa_supplicant
Signed-off-by: Daniel Golle <daniel@makrotopia.org>openwrt-18.06
parent
2ec96787c3
commit
465d4bc538
|
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||||
PKG_NAME:=mac80211
|
PKG_NAME:=mac80211
|
||||||
|
|
||||||
PKG_VERSION:=2017-11-01
|
PKG_VERSION:=2017-11-01
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
|
PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
|
||||||
PKG_HASH:=8437ab7886b988c8152e7a4db30b7f41009e49a3b2cb863edd05da1ecd7eb05a
|
PKG_HASH:=8437ab7886b988c8152e7a4db30b7f41009e49a3b2cb863edd05da1ecd7eb05a
|
||||||
|
|
||||||
|
|
|
@ -524,7 +524,7 @@ mac80211_setup_supplicant() {
|
||||||
|
|
||||||
mac80211_setup_supplicant_noctl() {
|
mac80211_setup_supplicant_noctl() {
|
||||||
wpa_supplicant_prepare_interface "$ifname" nl80211 || return 1
|
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"
|
wpa_supplicant_run "$ifname"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue