]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:53 +0000 (11:17 -0800)
commit0315c14182162db2f21954aee9e124f54780f864
tree9a2305c61ee7af97c9c2dd93c7e9d3a2acf5f94f
parent45b91f805d019b71e9baa4c923af08fdbcb51bd3
mac80211: fix offchannel TX cookie matching

commit 28a1bcdb57d50f3038a255741ecc83e391e5282e upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/status.c
net/mac80211/work.c