P2P: Add group ifname to P2P-PROV-DISC-* events
authorJouni Malinen <j@w1.fi>
Tue, 6 Dec 2011 19:57:17 +0000 (21:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 6 Dec 2011 19:57:17 +0000 (21:57 +0200)
commitc3f42784454e413dcec09c8fd8c77cbe68186ed7
treeda7b4777f9b5bfac47c3046e611e1ea434f7ef79
parentec437d9e748a44d6dc31fb54e9f601e092f7dfcf
P2P: Add group ifname to P2P-PROV-DISC-* events

If Provision Discovery Request is sent for GO role (i.e., P2P Group ID
attribute is included), add the group interface name to the control
interface event on the GO. This makes it easier to figure out which
ctrl_iface needs to be used for wps_pbc/wps_pin command to authorize
the joining P2P client.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/drivers/driver_test.c
src/p2p/p2p.h
src/p2p/p2p_pd.c
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h