1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

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>
This commit is contained in:
Andrey Gusakov 2014-08-11 19:10:18 +04:00 committed by David Herrmann
parent e81f5e2833
commit e79f08dd25

View file

@ -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")) {