]> 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)
commitda5b476eb47727cd8fe98ab8ff5dfadb9293e3e0
tree99558936788c104390443012594bd4de73be69c3
parent72a5436d2d405ffab2b3530e0be1dd9baaa734b9
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