aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2015-05-12 14:39:58 (GMT)
committerJouni Malinen <j@w1.fi>2015-05-25 15:31:09 (GMT)
commitb4342ca4d8f21af51d4923ca15910d3211bfdc7e (patch)
tree289cca5961c82951bfebc59424ff9193a9ff1d4f /wpa_supplicant/wpa_supplicant_i.h
parent96512a00d094935d77fb9e0efe9072f5dca442bf (diff)
downloadhostap-b4342ca4d8f21af51d4923ca15910d3211bfdc7e.zip
hostap-b4342ca4d8f21af51d4923ca15910d3211bfdc7e.tar.gz
hostap-b4342ca4d8f21af51d4923ca15910d3211bfdc7e.tar.bz2
P2P: Use p2p_init_wpa_s for P2P command redirection over D-Bus
D-Bus used the p2p_dev member in struct wpa_supplicant to track the interface used for P2P Device operations. However, this is not needed as the interface used for P2P Device operations is stored in struct wpa_global->p2p_init_wpa_s. Replace all the redirections to wpa_s->p2p_dev with redirections to wpa_s->global->p2p_init_wpa_s and removed this member as it is no longer needed. Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index 364ba19..ffda53d 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -738,7 +738,6 @@ struct wpa_supplicant {
int p2p_mgmt;
#ifdef CONFIG_P2P
- struct wpa_supplicant *p2p_dev;
struct p2p_go_neg_results *go_params;
int create_p2p_iface;
u8 pending_interface_addr[ETH_ALEN];