Returning errors on invalid values when configuring p2p over DBus
viesturs.zarins at lge.com
viesturs.zarins
Wed Sep 9 01:41:38 PDT 2015
Hi,
I'm configuring a p2p device over Dbus using, P2PDeviceConfig method.
And the method always succeeds even if the configuration values are not reasonable.
Internally the call gets routed to wpas_dbus_setter_p2p_device_config and later to wpa_supplicant_update_config, wpas_wps_update_config and wpas_p2p_update_config.
The latter does lots of error checking but only writes the errors to log.
What are the architecture considerations over this behavior?
I'm willing to implement the error handling.
Any hints how to do it so it can be accepted upstream?
My immediate concern is over p2p_listen_channel.
Regards,
Viesturs
More information about the Hostap
mailing list