]> git.ipfire.org Git - thirdparty/hostap.git/commit
D-Bus: Fix P2P DeleteService dict iteration
authorJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 15:13:54 +0000 (17:13 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 15:13:54 +0000 (17:13 +0200)
commita68e9b698008b165f9c7e3ab768a19275de48245
tree772cfb89033f5afbff39a110a912ef5ec4525ed9
parent366ada041268413db52e53a55c96f7181084cecb
D-Bus: Fix P2P DeleteService dict iteration

The previous implementation assumed the first entry coming out from the
dict is always service_type. That may not be the case, so properly
iterate over all dict entries in one loop instead of assuming what the
first entry is.

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