HS 2.0: Enable PMF automatically for Hotspot 2.0 network profiles
Hotspot 2.0 Release 2 requires PMF to be negotiated, so enable this by default in the network profiles created from cred blocks. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
f3784a6b94
commit
f44d760cf0
1 changed files with 1 additions and 0 deletions
|
@ -958,6 +958,7 @@ static int interworking_set_hs20_params(struct wpa_supplicant *wpa_s,
|
|||
"WPA-EAP WPA-EAP-SHA256" : "WPA-EAP";
|
||||
if (wpa_config_set(ssid, "key_mgmt", key_mgmt, 0) < 0 ||
|
||||
wpa_config_set(ssid, "proto", "RSN", 0) < 0 ||
|
||||
wpa_config_set(ssid, "ieee80211w", "1", 0) < 0 ||
|
||||
wpa_config_set(ssid, "pairwise", "CCMP", 0) < 0)
|
||||
return -1;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue