1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-13 07:11:55 +00:00

manage prov type

This commit is contained in:
albfan 2015-07-29 20:11:47 +02:00
parent 45f2172a59
commit 3dc2e252b9

View file

@ -758,6 +758,13 @@ int supplicant_peer_connect(struct supplicant_peer *sp,
if (!pin || !*pin)
return -EINVAL;
r = wpas_message_append(m, "ss", pin, "pin");
if (r < 0)
return log_ERR(r);
} else if (!strcmp(prov_type, "keypad")) {
if (!pin || !*pin)
return -EINVAL;
r = wpas_message_append(m, "ss", pin, "keypad");
if (r < 0)
return log_ERR(r);