7c4027f604
drv->ctx always points to the first BSS and we should report event using BSS related to the interface we got NL80211_CMD_NEW_STATION from. This fixes STA association for drivers using NL80211_CMD_NEW_STATION and multiple virtual interfaces. Before: nl80211: Drv Event 19 (NL80211_CMD_NEW_STATION) received for wlan0-1 (ifindex:7) nl80211: New station 02:00:00:00:01:00 wlan0: STA 02:00:00:00:01:00 IEEE 802.11: associated After: nl80211: Drv Event 19 (NL80211_CMD_NEW_STATION) received for wlan0-1 (ifindex:7) nl80211: New station 02:00:00:00:01:00 wlan0-1: STA 02:00:00:00:01:00 IEEE 802.11: associated This is not applicable to the cases where authentication (AP SME & MLME) is in hostapd and hostapd_assoc_cb() instead of hostapd_notif_assoc() handles BSS selection. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> |
||
---|---|---|
.. | ||
ap | ||
common | ||
crypto | ||
drivers | ||
eap_common | ||
eap_peer | ||
eap_server | ||
eapol_auth | ||
eapol_supp | ||
l2_packet | ||
p2p | ||
pae | ||
radius | ||
rsn_supp | ||
tls | ||
utils | ||
wps | ||
lib.rules | ||
Makefile |