mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
nl80211: Request update connection params only for drivers with SME
Update Connection Params is intended for drivers that implement internal SME and expect these updated connection params from wpa_supplicant. Do not send this request for the drivers using SME from wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
30998360a1
commit
c574a3ff18
@ -10899,6 +10899,14 @@ static int nl80211_update_connection_params(
|
||||
int ret = -1;
|
||||
enum nl80211_auth_type type;
|
||||
|
||||
/* Update Connection Params is intended for drivers that implement
|
||||
* internal SME and expect these updated connection params from
|
||||
* wpa_supplicant. Do not send this request for the drivers using
|
||||
* SME from wpa_supplicant.
|
||||
*/
|
||||
if (drv->capa.flags & WPA_DRIVER_FLAGS_SME)
|
||||
return 0;
|
||||
|
||||
msg = nl80211_drv_msg(drv, 0, NL80211_CMD_UPDATE_CONNECT_PARAMS);
|
||||
if (!msg)
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user