wpa_supplicant: Fix p2p_group_add when UDP-based ctrl_iface is used
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Tue, 8 Mar 2016 13:28:02 +0000 (14:28 +0100)
committerJouni Malinen <j@w1.fi>
Sun, 20 Mar 2016 19:41:40 +0000 (21:41 +0200)
commit5ae65de0b7f59b91ad45e3fde47c0e49bab09b25
tree8d30ccba5b3a6808cc0a64dece2ecf0f6ae525be
parent24bce46e9c86c77fcb5b22a55c4ed7843d92f48d
wpa_supplicant: Fix p2p_group_add when UDP-based ctrl_iface is used

While p2p_group_add ctrl_interface name could be derived from the main
interface (simple p2p_group_add command), we failed to bind the same UDP
port. Fix this problem and also update the correct ctrl_interface name
(port decrement).

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
wpa_supplicant/ctrl_iface_udp.c