summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas_tf
diff options
context:
space:
mode:
authorAndrey Yurovsky <andrey@cozybit.com>2009-01-05 14:37:31 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-01-12 14:24:57 -0500
commit51e99158d261a5ec5772ca89b935c3daa270b07c (patch)
treed42935f00d668610495fa6743281424cc85c3016 /drivers/net/wireless/libertas_tf
parentf1dd2b23badfe8a28910a78be24452c627c4b6f2 (diff)
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)