Message ID | 20140407181030.ABC1614070A@ushik.mtv.corp.google.com |
---|---|
State | Superseded |
Headers | show |
On Wed, Feb 26, 2014 at 04:05:21PM -0800, Andres Morales wrote: > These commands should be executed on the P2P interface > thus should be redirected to it. > @@ -6807,6 +6807,9 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global, > "P2P_PRESENCE_REQ ", > "P2P_EXT_LISTEN ", > "P2P_REMOVE_CLIENT ", > + "NFC_GET_HANDOVER_SEL ", > + "NFC_GET_HANDOVER_REQ ", > + "NFC_REPORT_HANDOVER ", Thanks, applied. Though, it should be noted that these commands are by no means limited to P2P use cases. They are also used for WPS and also on the P2P group interfaces. I updated the commit message to be bit clearer on those other cases being available as well.
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 8d51bf6..db00eeb 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -6807,6 +6807,9 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global, "P2P_PRESENCE_REQ ", "P2P_EXT_LISTEN ", "P2P_REMOVE_CLIENT ", + "NFC_GET_HANDOVER_SEL ", + "NFC_GET_HANDOVER_REQ ", + "NFC_REPORT_HANDOVER ", NULL }; int found = 0;
These commands should be executed on the P2P interface thus should be redirected to it. Change-Id: Icea73676c0383727fe42abe08c9c2711a193f0f0 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> --- wpa_supplicant/ctrl_iface.c | 3 +++ 1 file changed, 3 insertions(+)