]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Indicate reason=UNAVAILABLE for group netdev going down
authorJouni Malinen <j@w1.fi>
Thu, 8 Jan 2015 20:13:17 +0000 (22:13 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 8 Jan 2015 20:43:48 +0000 (22:43 +0200)
commit8f2cf379233bf4e8fc5580c7a03858a7b5581368
tree4701f76b923201f71c6aa6bd70b098283e3fb803
parentcd9548c02f2863ef2d74fa59cfe324cea78ef5de
P2P: Indicate reason=UNAVAILABLE for group netdev going down

There is a race condition between receiving an AP stopped event and
netdev down event. These resulted in different group removal reasons on
a GO device (UNAVAILABLE for stop AP event coming first and REQUESTED
for netdev event first). Make this more consistent by reporting
UNAVAILABLE for both possible cases.

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