aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-09-14 12:53:47 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-09-14 12:53:47 -0700
commitdc7b71324df9788e194745e8ab9386a4619a623a (patch)
tree7f33e5e58731bd22a8d3eae95747e694ae225c52 /wpa_supplicant/wpa_supplicant_i.h
parent5887a9d552f3d9d612011daba073e076daab5b2a (diff)
downloadexternal_wpa_supplicant_8-dc7b71324df9788e194745e8ab9386a4619a623a.zip
external_wpa_supplicant_8-dc7b71324df9788e194745e8ab9386a4619a623a.tar.gz
external_wpa_supplicant_8-dc7b71324df9788e194745e8ab9386a4619a623a.tar.bz2
P2P: Move p2p_cb_on_scan_complete to global context
Since we have a global P2P module, the flag to trigger scan completion events to it needs to be in similar context. The previous design maintained this separately for each virtual interface and if P2P module did not run its scan operation on the virtual interface that completed the scan, P2P module would not be allowed to restart operations properly. Change-Id: I1b5a55c03aede15bbe0ac70dcbe0011a90f69b20 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 0bc2880..55f3d88 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -239,6 +239,7 @@ struct wpa_global {
WPA_CONC_PREF_STA,
WPA_CONC_PREF_P2P
} conc_pref;
+ unsigned int p2p_cb_on_scan_complete:1;
#ifdef CONFIG_WIFI_DISPLAY
int wifi_display;
@@ -541,7 +542,6 @@ struct wpa_supplicant {
*/
char cross_connect_uplink[100];
- unsigned int p2p_cb_on_scan_complete:1;
unsigned int sta_scan_pending:1;
unsigned int p2p_auto_join:1;
unsigned int p2p_auto_pd:1;