]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteab3e95544680b5758e90edf3cc167b81f8f68d3
treeaed3de61d707198a5283485691e8f01b95fa9397
parentb1b01164fdb64c548bb1e8bd89011377e3194d6a
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