]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Replace p2p_get_peer_info with p2p_peer_known when applicable
authorJouni Malinen <j@w1.fi>
Thu, 22 Dec 2011 19:04:41 +0000 (21:04 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 22 Dec 2011 19:04:41 +0000 (21:04 +0200)
commitb3bcc0f5195ab9e2dc7c6885afee30bcb66c9e5d
tree80676c5b626977a02dff46dd1cad1d9150d60723
parenta601f71bc74f38549ed597ae4e30b130892f00c7
P2P: Replace p2p_get_peer_info with p2p_peer_known when applicable

p2p_get_peer_info() was used in multiple places just to check whether a
specific peer is known. This was not the designed use for the function,
so introduce a simpler function for that purpose to make it obvious that
the p2p_get_peer_info() function is actually used only in ctrl_iface.c.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new_handlers_p2p.c