summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Yurovsky <andrey@cozybit.com>2009-01-05 22:37:31 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-01-12 19:24:57 (GMT)
commit51e99158d261a5ec5772ca89b935c3daa270b07c (patch)
treed42935f00d668610495fa6743281424cc85c3016 /drivers
parentf1dd2b23badfe8a28910a78be24452c627c4b6f2 (diff)
downloadlinux-51e99158d261a5ec5772ca89b935c3daa270b07c.tar.xz
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')
-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 d1fc305..e7289e2 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)