dbus: Provide the P2P Device Address from the relevant structure
Fixes a minor mistake: the p2p_info structure should be used here instead of the peer_handler_args one. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
e956b830fc
commit
f3734e2377
1 changed files with 1 additions and 1 deletions
|
@ -1516,7 +1516,7 @@ dbus_bool_t wpas_dbus_getter_p2p_peer_device_address(DBusMessageIter *iter,
|
||||||
}
|
}
|
||||||
|
|
||||||
return wpas_dbus_simple_array_property_getter(
|
return wpas_dbus_simple_array_property_getter(
|
||||||
iter, DBUS_TYPE_BYTE, (char *) peer_args->p2p_device_addr,
|
iter, DBUS_TYPE_BYTE, (char *) info->p2p_device_addr,
|
||||||
ETH_ALEN, error);
|
ETH_ALEN, error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue