Commit 51e99158 authored by Andrey Yurovsky's avatar Andrey Yurovsky Committed by John W. Linville

libertas_tf: return NETDEV_TX_OK in TX op

The TX op should return NETDEV_TX_OK or NETDEV_TX_BUSY.
Signed-off-by: default avatarAndrey Yurovsky <andrey@cozybit.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f1dd2b23
...@@ -206,7 +206,7 @@ static int lbtf_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb) ...@@ -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 * there are no buffered multicast frames to send
*/ */
ieee80211_stop_queues(priv->hw); ieee80211_stop_queues(priv->hw);
return 0; return NETDEV_TX_OK;
} }
static void lbtf_tx_work(struct work_struct *work) static void lbtf_tx_work(struct work_struct *work)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment