]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Clear P2P state if active interface is disabled
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 15 May 2014 18:32:54 +0000 (21:32 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 18:32:54 +0000 (21:32 +0300)
commitc71c241674a7a2089fb28e98a0592e744ac973a9
tree3dbc7a60c1443be1060055e9d524419112261a92
parent23a6d4d8df0eda044b1487311604c2aa8a1fe1e4
P2P: Clear P2P state if active interface is disabled

The radio works for the interface get removed if interface is disabled.
This could have left P2P module in invalid state if the interface got
disabled during a p2p_find or p2p_listen operation. Clear the state in
such a case to avoid blocking following operations due to P2P module
assuming it is still in progress of doing something.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c