dbus: Add debug printing on property setter type mismatches
This commit is contained in:
parent
2fd13f1bae
commit
ec99cb7b00
1 changed files with 2 additions and 0 deletions
|
@ -433,6 +433,8 @@ DBusMessage * wpas_dbus_simple_property_setter(DBusMessage *message,
|
||||||
dbus_message_iter_recurse(&iter, &variant_iter);
|
dbus_message_iter_recurse(&iter, &variant_iter);
|
||||||
|
|
||||||
if (dbus_message_iter_get_arg_type(&variant_iter) != type) {
|
if (dbus_message_iter_get_arg_type(&variant_iter) != type) {
|
||||||
|
wpa_printf(MSG_DEBUG, "dbus: wpas_dbus_simple_property_setter:"
|
||||||
|
" wrong property type");
|
||||||
return wpas_dbus_error_invalid_args(message,
|
return wpas_dbus_error_invalid_args(message,
|
||||||
"wrong property type");
|
"wrong property type");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue