wpa_supplicant: Add GET_CAPABILITY for p2p

Submitted by Dmitry Shmidt on April 6, 2017, 12:09 a.m.

Details

Message ID 94eb2c11e9b6d16e38054c745332@google.com
State Accepted
Headers show

Commit Message

Dmitry Shmidt April 6, 2017, 12:09 a.m.
From dcda82ba473af343aaf87843102eb257f7342774 Mon Sep 17 00:00:00 2001
From: Dmitry Shmidt <dimitrysh@google.com>
Date: Wed, 5 Apr 2017 17:01:39 -0700
Subject: [PATCH] wpa_supplicant: Add GET_CAPABILITY for p2p

It will give capability to check channel list before
p2p group is created.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
---
  wpa_supplicant/ctrl_iface.c | 1 +
  1 file changed, 1 insertion(+)

  		"P2P_FIND ",

Patch hide | download patch | download mbox

diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 0a4ae9837..c093de163 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -10458,6 +10458,7 @@  static char *  
wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
  #ifdef ANDROID
  		"DRIVER ",
  #endif /* ANDROID */
+		"GET_CAPABILITY ",
  		"GET_NETWORK ",
  		"REMOVE_NETWORK ",