D-Bus: Clean up parse_peer_object_path() uses
authorJouni Malinen <j@w1.fi>
Thu, 1 Jan 2015 13:24:08 +0000 (15:24 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 20:50:26 +0000 (22:50 +0200)
commitb76ea413b16024625e93e73f123dc11291f43e9b
tree27b53c5c91b48a44c9af5a0b65e2e7fe1f94b50a
parent509618d35b87da8fd1ed584628f19b4302f79931
D-Bus: Clean up parse_peer_object_path() uses

This helper function does not modify peer_path, so mark it const. In
addition, there is no point in callers to check separately whether
peer_path is NULL since that is taken care of by this helper function.

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