]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix offchannel TX cookie matching
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Oct 2011 16:27:10 +0000 (18:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Oct 2011 20:41:08 +0000 (16:41 -0400)
commitd6bdd0fc7079c0baae34e740464c173ff8ee14a9
treedec9177c1756343a7ba27db929e189c3726f26f9
parentefccb02f86aeefbec6e4d4415913cd0e8d6d31d1
mac80211: fix offchannel TX cookie matching

When I introduced in-kernel off-channel TX I
introduced a bug -- the work can't be canceled
again because the code clear the skb pointer.
Fix this by keeping track separately of whether
TX status has already been reported.

Cc: stable@kernel.org [2.6.38+]
Reported-by: Jouni Malinen <j@w1.fi>
Tested-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/status.c
net/mac80211/work.c