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:
Jouni Malinen 2010-03-07 21:29:34 +02:00
parent 921a278604
commit 5205c4f98a

View file

@ -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;