P2P: Fix action done handling for driver-based off-channel TX
authorJohannes Berg <johannes.berg@intel.com>
Tue, 20 Sep 2011 09:59:09 +0000 (11:59 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 21 Sep 2011 21:57:27 +0000 (00:57 +0300)
commit3a26a2c9dfef45896603abb529a38f0e88c361fa
tree17d92ed1cbee34441124cf04917534fc62fbdc27
parentffbf1eaa269fc5335c6e0676afa2475911b3af95
P2P: Fix action done handling for driver-based off-channel TX

The action done handling needs to abort an off-channel period since one
might have been used for example for GO negotiation and after action
done the code assumes it can start a new off-channel period.

This fixes a bug I introduced when adding support for
in-kernel off-channel transmissions.

Reported-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
wpa_supplicant/p2p_supplicant.c