]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix retransmit
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Dec 2011 21:08:52 +0000 (22:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Dec 2011 21:07:07 +0000 (16:07 -0500)
commitdeb3b867758d42b5fbed1e443dd6742693d09b53
tree99558936788c104390443012594bd4de73be69c3
parent2f01138bf3434ccc27a61e29bc3843be0aa35567
mac80211: fix retransmit

This fixes another regression from my "pass all
fragments to driver at once" patches -- if the
packet is being retransmitted then we don't go
through all handlers, but we still need to move
it to the skbs list, otherwise we run into the
first warning in __ieee80211_tx() and leak the
skb.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c