]> git.ipfire.org Git - thirdparty/hostap.git/commit
D-Bus: Fix network block type change
authorJouni Malinen <j@w1.fi>
Sat, 7 Feb 2015 14:17:11 +0000 (16:17 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Feb 2015 14:19:08 +0000 (16:19 +0200)
commit1e529832a800768c77cd586e29ccb69c17384580
treef75e3f079d7e2f2686644219d65c173f9bfbe533
parentc62bd5e44d61e7d093bee49297444ef70f3a7545
D-Bus: Fix network block type change

It is possible for a network profile to change its type from P2P
persistent group to a normal network and back. The D-Bus interface uses
different types of objects for those, so the object needs to
re-registered in case of type change. This fixes issues in leaving
behind an incorrect type of object and leaking memory when freeing such
a network block that has had its disabled parameter changed.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/notify.c
wpa_supplicant/notify.h