]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix offchannel TX not to retransmit pending frame on callback
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 3 Jun 2014 12:35:01 +0000 (15:35 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 4 Jun 2014 13:07:59 +0000 (16:07 +0300)
commitd4b951f31b7eb72df19e570f636d51fa3e6c95ac
tree9290441cbc75bbd041a56a11acd0e448d9a6a1d1
parent95b6bca66de9dc0a2ddd9164ec052a7d5f58804b
Fix offchannel TX not to retransmit pending frame on callback

If the offchannel TX frame command was offloaded to the driver in
offchannel_send_action(), we must not send another copy of the frame if
a remain-on-channel event happens to be delivered between this TX
command and the matching TX status event. It was possible for the
duplicated frame to cause problems, e.g., with P2P invitation exchange
if the same Invitation Request frame got sent twice and only the first
one getting accepted by the peer.

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