[PATCH] Use correct BSSID for deauth/disconnect in mac80211 EALREADY workaround

Johannes Berg johannes
Fri Sep 28 00:26:10 PDT 2012


Hi,

> I'm using compat-wireless-3.2.5-1. I see that in nl80211_deauthenticate()
> NL80211_ATTR_MAC is mandatory. The same in compat-wireless-3.6-rc6-1.

Yes, but 3.2 and 3.5 behave quite differently in this area. In 3.5, you
don't actually need to deauthenticate all the time, the whole "state
mismatch" handling isn't necessary. Therefore, I was curious if you
tested this before those changes, but then you did.

> To clear possible misunderstanding:
> >> For NL80211_CMD_DEAUTHENTICATE use correct cached BSSID value.
> This caching is done in hostap.git: src/drivers/driver_nl80211.c ,
> struct wpa_driver_nl80211_data->auth_bssid .

Right, I understand.

johannes




More information about the Hostap mailing list