D-Bus: Fix p2p interface capability message
authorJohn Ernberg <john.ernberg@actia.se>
Mon, 1 Feb 2016 12:04:57 +0000 (12:04 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 5 Feb 2016 16:09:38 +0000 (18:09 +0200)
commitf91e11f465caf14126a3528dc2edceed963c2993
treefa08d18e5f3c0705b49804fd718ded87355c4130
parent479f46c4c264341550335475e525bc311e75626b
D-Bus: Fix p2p interface capability message

If the config file for the interface says "p2p_disabled=1", don't report
p2p capabilities on this interface. This helps programs like Connman to
not enable p2p when it's been disabled in wpa_supplicant.

Signed-off-by: John Ernberg <john.ernberg@actia.se>
wpa_supplicant/dbus/dbus_new_handlers.c