nl80211: Fix driver context pointer for auth-failure-case
The new per-BSS context needs to be used here when calling wpa_driver_nl80211_deauthenticate() to avoid passing incorrect data type to the function.
This commit is contained in:
parent
921a278604
commit
5205c4f98a
1 changed files with 1 additions and 1 deletions
|
@ -2316,7 +2316,7 @@ retry:
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Retry authentication "
|
wpa_printf(MSG_DEBUG, "nl80211: Retry authentication "
|
||||||
"after forced deauthentication");
|
"after forced deauthentication");
|
||||||
wpa_driver_nl80211_deauthenticate(
|
wpa_driver_nl80211_deauthenticate(
|
||||||
drv, params->bssid,
|
bss, params->bssid,
|
||||||
WLAN_REASON_PREV_AUTH_NOT_VALID);
|
WLAN_REASON_PREV_AUTH_NOT_VALID);
|
||||||
nlmsg_free(msg);
|
nlmsg_free(msg);
|
||||||
goto retry;
|
goto retry;
|
||||||
|
|
Loading…
Reference in a new issue