libertas_tf: return NETDEV_TX_OK in TX op
authorAndrey Yurovsky <andrey@cozybit.com>
Mon, 5 Jan 2009 22:37:31 +0000 (14:37 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:57 +0000 (14:24 -0500)
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>
drivers/net/wireless/libertas_tf/main.c

index d1fc305de5fe03c755368b70690d3f81d5fe54ba..e7289e2e7f16fb87e3a96113f4efe1e43433dbe6 100644 (file)
@@ -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)