D-Bus: Fix WPS.Start method in AP/P2P GO mode
authorJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 15:11:15 +0000 (17:11 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 20:50:27 +0000 (22:50 +0200)
commitd118a6b8c828776ba1fb061e974c16ccdd9d93d6
tree53ad7f5ae93a5e924a4e4eda00689d1f5fb2b88a
parentbd47d68035f9efbf272ad13fab22f786fd0746aa
D-Bus: Fix WPS.Start method in AP/P2P GO mode

Previously, role="enrollee" was required to be used to allow the AP mode
WPS operation to be started. This is incorrect since the AP/GO will
operate in Registrar role. Fix this by ignoring the role parameter when
AP (including P2P GO) mode is enabled.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers_wps.c