aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Ravi <sunilravi@google.com>2020-02-26 16:05:38 -0800
committerSunil Ravi <sunilravi@google.com>2020-02-27 00:47:18 +0000
commitbd908547788934b6b13d1793625f112f95ff96dd (patch)
tree80c035e5e04e8ad07a4a0b0211617cd9d3916cbc
parentb6aaecce75ee949b03da891a6a0c4ad382f7b4ee (diff)
downloadwpa_supplicant_8-bd908547788934b6b13d1793625f112f95ff96dd.tar.gz
hidl/1.2: Don't set WPA_KEY_MGMT_FT_SAE key management.
802.11r is not supported in current versions of WPA3-Personal & WPA3-Enterprise. So don't set WPA_KEY_MGMT_FT_SAE in wpa_ssid->key_mgmt, when station is trying to connect to SAE supported Access Point. Bug: 149865827 Test: Manual-Basic WiFi sanity test. Change-Id: I6bc27af2d1a0a56931401f7e9a8e4b6493803eb6
-rw-r--r--wpa_supplicant/hidl/1.2/sta_network.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/wpa_supplicant/hidl/1.2/sta_network.cpp b/wpa_supplicant/hidl/1.2/sta_network.cpp
index 57622f83..4d694f71 100644
--- a/wpa_supplicant/hidl/1.2/sta_network.cpp
+++ b/wpa_supplicant/hidl/1.2/sta_network.cpp
@@ -2131,10 +2131,6 @@ int StaNetwork::setByteArrayKeyFieldAndResetState(
*/
void StaNetwork::setFastTransitionKeyMgmt(uint32_t &key_mgmt_mask)
{
- if (key_mgmt_mask & WPA_KEY_MGMT_SAE) {
- key_mgmt_mask |= WPA_KEY_MGMT_FT_SAE;
- }
-
if (key_mgmt_mask & WPA_KEY_MGMT_PSK) {
key_mgmt_mask |= WPA_KEY_MGMT_FT_PSK;
}
@@ -2150,10 +2146,6 @@ void StaNetwork::setFastTransitionKeyMgmt(uint32_t &key_mgmt_mask)
*/
void StaNetwork::resetFastTransitionKeyMgmt(uint32_t &key_mgmt_mask)
{
- if (key_mgmt_mask & WPA_KEY_MGMT_SAE) {
- key_mgmt_mask &= ~WPA_KEY_MGMT_FT_SAE;
- }
-
if (key_mgmt_mask & WPA_KEY_MGMT_PSK) {
key_mgmt_mask &= ~WPA_KEY_MGMT_FT_PSK;
}