Support all PSK AKMs in case of AP mode PSK offload
Previously only the SHA-1 -based AKM was supported. Extend that to cover all PSK AKMs so that the PSK configuration to the driver happens for all the possible cases during AP start. Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
This commit is contained in:
parent
31d33a55f9
commit
b91113e05f
1 changed files with 1 additions and 1 deletions
|
@ -5123,7 +5123,7 @@ static int wpa_driver_nl80211_set_ap(void *priv,
|
|||
suites))
|
||||
goto fail;
|
||||
|
||||
if ((params->key_mgmt_suites & WPA_KEY_MGMT_PSK) &&
|
||||
if (wpa_key_mgmt_wpa_psk_no_sae(params->key_mgmt_suites) &&
|
||||
(drv->capa.flags2 & WPA_DRIVER_FLAGS2_4WAY_HANDSHAKE_AP_PSK) &&
|
||||
params->psk_len &&
|
||||
nla_put(msg, NL80211_ATTR_PMK, params->psk_len, params->psk))
|
||||
|
|
Loading…
Reference in a new issue