aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 19:29:34 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 19:29:34 (GMT)
commit5205c4f98a5b4242e8cddaf36be0c17f3ffc0e80 (patch)
tree0d01440d488c1f7f94a0560b381df1466c403b2f
parent921a2786042a08aaabb5088d93539075d083113e (diff)
downloadhostap-5205c4f98a5b4242e8cddaf36be0c17f3ffc0e80.zip
hostap-5205c4f98a5b4242e8cddaf36be0c17f3ffc0e80.tar.gz
hostap-5205c4f98a5b4242e8cddaf36be0c17f3ffc0e80.tar.bz2
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.
-rw-r--r--src/drivers/driver_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index ac30562..edbe69b 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -2316,7 +2316,7 @@ retry:
wpa_printf(MSG_DEBUG, "nl80211: Retry authentication "
"after forced deauthentication");
wpa_driver_nl80211_deauthenticate(
- drv, params->bssid,
+ bss, params->bssid,
WLAN_REASON_PREV_AUTH_NOT_VALID);
nlmsg_free(msg);
goto retry;