aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-01-15 18:27:19 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-17 09:58:36 (GMT)
commit443427e4ed09a6785dc9f7e3379ffa69686590cd (patch)
tree05d8843997ab41eace584e0141b99949bfd7893d /wpa_supplicant
parent37b4198af4a76da82e7345a43f7f28285bde0d60 (diff)
downloadhostap-443427e4ed09a6785dc9f7e3379ffa69686590cd.zip
hostap-443427e4ed09a6785dc9f7e3379ffa69686590cd.tar.gz
hostap-443427e4ed09a6785dc9f7e3379ffa69686590cd.tar.bz2
P2P: Add missing direct global ctrl_iface commands for P2P
It should be noted that these commands are not exclusively used for P2P or in the global context, so use of these commands through the global control interface for operations that are specific to a single interface have undefined behavior and that behavior may change in the future. As such, these are recommend only for operations that are in the global context (e.g., for P2P management). Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/ctrl_iface.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 0214b38..f7ee6e3 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -6345,6 +6345,8 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
{
#ifdef CONFIG_P2P
static const char * cmd[] = {
+ "LIST_NETWORKS",
+ "SAVE_CONFIG",
"P2P_FIND",
"P2P_STOP_FIND",
"P2P_LISTEN",
@@ -6359,6 +6361,12 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
NULL
};
static const char * prefix[] = {
+#ifdef ANDROID
+ "DRIVER ",
+#endif /* ANDROID */
+ "GET_NETWORK ",
+ "REMOVE_NETWORK ",
+ "SET ",
"P2P_FIND ",
"P2P_CONNECT ",
"P2P_LISTEN ",