hostapd/src
Rafał Miłecki 7c4027f604 nl80211: Report new station / assoc event for the correct BSS
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>
2014-12-14 17:29:26 +02:00
..
ap ERP: Add ERP_FLUSH for hostapd 2014-12-14 15:47:04 +02:00
common Add text names for number of the key_mgmt values 2014-12-12 13:40:07 +02:00
crypto OpenSSL: Simplify EAP-FAST peer workaround 2014-12-09 23:55:41 +02:00
drivers nl80211: Report new station / assoc event for the correct BSS 2014-12-14 17:29:26 +02:00
eap_common ERP: Add TV/TLV parser 2014-12-04 12:08:59 +02:00
eap_peer ERP: Drop ERP keys on failure on the peer 2014-12-14 15:47:04 +02:00
eap_server Check os_snprintf() result more consistently - manual 2014-12-08 11:42:07 +02:00
eapol_auth Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
eapol_supp Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
l2_packet proxyarp: Do not limit NDISC snoop packet size to 150 2014-11-28 22:41:26 +02:00
p2p P2P: Check Invitation Response dialog token match for resend case 2014-12-09 16:26:47 +02:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius ERP: Add ERP_FLUSH for hostapd 2014-12-14 15:47:04 +02:00
rsn_supp Check os_snprintf() result more consistently - manual 2014-12-08 11:42:07 +02:00
tls TLS: Add new cipher suites to tls_get_cipher() 2014-12-09 16:57:05 +02:00
utils Check os_snprintf() result more consistently - automatic 2 2014-12-08 11:42:07 +02:00
wps Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00