dbus: Fix new dbus API for WPS
Start() method's optional Bssid argument needs a byte array, not an array of arrays.
This commit is contained in:
parent
f2ed8023c4
commit
1b232e479d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ static int wpas_dbus_handler_wps_bssid(DBusMessage *message,
|
|||
dbus_message_iter_recurse(entry_iter, &variant_iter);
|
||||
if (dbus_message_iter_get_arg_type(&variant_iter) != DBUS_TYPE_ARRAY ||
|
||||
dbus_message_iter_get_element_type(&variant_iter) !=
|
||||
DBUS_TYPE_ARRAY) {
|
||||
DBUS_TYPE_BYTE) {
|
||||
wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong Bssid type, "
|
||||
"byte array required");
|
||||
*reply = wpas_dbus_error_invalid_args(
|
||||
|
|
Loading…
Reference in a new issue