]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix interface remove to terminate all P2P groups
authorJouni Malinen <j@w1.fi>
Mon, 14 Apr 2014 21:20:17 +0000 (00:20 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 14 Apr 2014 21:20:17 +0000 (00:20 +0300)
commite83e15ee771988c57b73cb4badf728aaf0943291
treeb28c8aab0397a33b7a240e711501788503f043fe
parentd21939a6fb882bf61fdfc825ff653beea470633d
P2P: Fix interface remove to terminate all P2P groups

Previously, it was possible to remove the main interface and leave
behind dynamic P2P group interfaces. This would eventually result in
references freed memory, so it is not really suitable behavior. Instesd,
remove all the dynamic P2P group interfaces that were created through an
interface that is now removed.

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