summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas_tf
diff options
context:
space:
mode:
authorAndrey Yurovsky <andrey@cozybit.com>2009-01-05 23:37:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-12 20:24:57 +0100
commit51e99158d261a5ec5772ca89b935c3daa270b07c (patch)
treed42935f00d668610495fa6743281424cc85c3016 /drivers/net/wireless/libertas_tf
parentrt2x00: Fix rt2500usb HW crypto: WEP 128 & AES (diff)
downloadlinux-51e99158d261a5ec5772ca89b935c3daa270b07c.tar.xz
linux-51e99158d261a5ec5772ca89b935c3daa270b07c.zip
libertas_tf: return NETDEV_TX_OK in TX op
The TX op should return NETDEV_TX_OK or NETDEV_TX_BUSY. Signed-off-by: Andrey Yurovsky <andrey@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas_tf')
-rw-r--r--drivers/net/wireless/libertas_tf/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c
index d1fc305de5fe..e7289e2e7f16 100644
--- a/drivers/net/wireless/libertas_tf/main.c
+++ b/drivers/net/wireless/libertas_tf/main.c
@@ -206,7 +206,7 @@ static int lbtf_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
* there are no buffered multicast frames to send
*/
ieee80211_stop_queues(priv->hw);
- return 0;
+ return NETDEV_TX_OK;
}
static void lbtf_tx_work(struct work_struct *work)