wl12xx: use ieee80211_free_txskb()
authorEliad Peller <eliad@wizery.com>
Tue, 13 Dec 2011 13:26:38 +0000 (15:26 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 15 Dec 2011 07:58:42 +0000 (09:58 +0200)
commit5de8eef4fdd2044f6981ebf62330720bcdba8ee3
treeab7f4f531ec4c811b8cb83cf6caf61f2ad2d63d4
parent2c8f82eabc6b3b6d1fc97954377e67f2d83db687
wl12xx: use ieee80211_free_txskb()

Use the newly introduced ieee80211_free_txskb() instead
of dev_kfree_skb() for failed tx packets.

Additionally, if the skb is a dummy packet, re-enqueue
it (as the fw expects it) instead of freeing it.

Reported-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c