From: Dmitry Shmidt Date: Fri, 16 Aug 2013 22:29:47 +0000 (-0700) Subject: P2P: Add commands for p2p redirection X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df47c3aa70c1f637946d503ad05a4fa19c38154;p=thirdparty%2Fhostap.git P2P: Add commands for p2p redirection Bug: 9056601 Change-Id: I6d78433df656c24af74a6825624c68231a4bf87d Signed-off-by: Dmitry Shmidt --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index cf13af5b4..61c6e1cf0 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -5966,6 +5966,11 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global, { #ifdef CONFIG_P2P static const char * cmd[] = { +#ifdef ANDROID_P2P + "LIST_NETWORKS", + "SAVE_CONFIG", + "STATUS", +#endif "P2P_FIND", "P2P_STOP_FIND", "P2P_LISTEN", @@ -5980,6 +5985,12 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global, NULL }; static const char * prefix[] = { +#ifdef ANDROID_P2P + "DRIVER ", + "GET_NETWORK ", + "REMOVE_NETWORK ", + "SET ", +#endif "P2P_FIND ", "P2P_CONNECT ", "P2P_LISTEN ",