P2P: Do not schedule new remain-on-channel if waiting for drv event
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 24 Jun 2010 04:51:38 +0000 (21:51 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2010 14:17:18 +0000 (07:17 -0700)
commit07a30a66c3d258124acaa3d01c796f9284dd1161
tree3e1ed8784495dd2a1f94a9f41d65c9db0e51ac83
parentd6ae9950572edc2979be8c36299c8f64aa9c8635
P2P: Do not schedule new remain-on-channel if waiting for drv event

The driver event for remain-on-channel may be delayed in a way that
allows management-frame-received event to be received before
wpa_supplicant knows that the driver is actually already on the
previously requested channel. We should not request a new
remain-on-channel to send a response to just a frame if we are waiting
for the driver to get to the same channel. Instead, just continue
waiting for the driver event.
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h