Message ID | 20191106133028.2350-6-ynezz@true.cz |
---|---|
State | Accepted |
Delegated to: | Petr Štetiar |
Headers | show |
Series | bump hostap to latest stable release | expand |
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index e94d66211d9f..63e7a5dea146 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=10 +PKG_RELEASE:=11 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 96cfc13a7db0..fdbce815dff3 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -754,6 +754,15 @@ wpa_supplicant_add_network() { ieee80211w ieee80211r \ multi_ap + case "$auth_type" in + sae|owe|eap192|eap-eap192) + set_default ieee80211w 2 + ;; + psk-sae) + set_default ieee80211w 1 + ;; + esac + set_default ieee80211r 0 set_default multi_ap 0