summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Gusakov <andrey.gusakov@cogentembedded.com>2014-08-11 19:10:18 +0400
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-03 08:34:14 +0200
commite79f08dd25ec03bfffd27dde7d58e621c3267615 (patch)
treedec6816b51f4e048896fb767d70d8caf7f6d92de
parente81f5e2833fea512dad5f7bf62f8f9c4e727e1f3 (diff)
wifi: p2p_connect does not need display parameter
No need to add 'display' to p2p_connect commands. Drop it for future compatibility. Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com> Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--src/wifi/wifid-supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wifi/wifid-supplicant.c b/src/wifi/wifid-supplicant.c
index 568f978..bb18cef 100644
--- a/src/wifi/wifid-supplicant.c
+++ b/src/wifi/wifid-supplicant.c
@@ -724,7 +724,7 @@ int supplicant_peer_connect(struct supplicant_peer *sp,
return log_ERR(r);
if (!strcmp(prov_type, "pbc")) {
- r = wpas_message_append(m, "ss", "pbc", "display");
+ r = wpas_message_append(m, "s", "pbc");
if (r < 0)
return log_ERR(r);
} else if (!strcmp(prov_type, "display")) {