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
1 changed files with 8 additions and 0 deletions
|
@ -10899,6 +10899,14 @@ static int nl80211_update_connection_params(
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
enum nl80211_auth_type type;
|
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);
|
msg = nl80211_drv_msg(drv, 0, NL80211_CMD_UPDATE_CONNECT_PARAMS);
|
||||||
if (!msg)
|
if (!msg)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in a new issue