aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-03-24 10:35:05 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-24 20:35:10 (GMT)
commit6a5ee810a367dfa20abcd2ca3695cc778641b2e5 (patch)
tree87d02ad5677b038e58b8e52792b87fbe3a37aa83 /wpa_supplicant/wpa_supplicant_i.h
parent00c3c4ac9b00937d4878b75df5da437f1c794a70 (diff)
downloadhostap-6a5ee810a367dfa20abcd2ca3695cc778641b2e5.zip
hostap-6a5ee810a367dfa20abcd2ca3695cc778641b2e5.tar.gz
hostap-6a5ee810a367dfa20abcd2ca3695cc778641b2e5.tar.bz2
Include previous BSSID in connection request to indicate reassociation
This allows the SME-in-the-driver case to get similar information about reassociation that was already available for the SME-in-wpa_supplicant case. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 4ec8d4e..ef14616 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -494,7 +494,8 @@ struct wpa_supplicant {
u8 pending_bssid[ETH_ALEN]; /* If wpa_state == WPA_ASSOCIATING, this
* field contains the target BSSID. */
int reassociate; /* reassociation requested */
- int reassoc_same_bss; /* reassociating to the same bss */
+ unsigned int reassoc_same_bss:1; /* reassociating to the same BSS */
+ unsigned int reassoc_same_ess:1; /* reassociating to the same ESS */
int disconnected; /* all connections disabled; i.e., do no reassociate
* before this has been cleared */
struct wpa_ssid *current_ssid;