From: Andrey Yurovsky Date: Mon, 5 Jan 2009 22:37:31 +0000 (-0800) Subject: libertas_tf: return NETDEV_TX_OK in TX op X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=51e99158d261a5ec5772ca89b935c3daa270b07c;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: John W. Linville --- 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)