wl12xx: report invalid TX rate when returning non-TX-ed skbs
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Feb 2011 22:22:27 +0000 (00:22 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 23 Feb 2011 09:14:56 +0000 (11:14 +0200)
commit1d36cd892c130a5a781acb282e083b94127f1c50
treeaed3de61d707198a5283485691e8f01b95fa9397
parenta8c0ddb5ba2889e1e11a033ccbadfc600f236a91
wl12xx: report invalid TX rate when returning non-TX-ed skbs

Report a TX rate idx of -1 and count 0 when returning untransmitted
skbs to mac80211 using ieee80211_tx_status(). Otherwise mac80211
tries to use the returned (essentially garbage) status.

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