wl1251: use workqueue provided by mac80211
[safe/jmp/linux-2.6] / drivers / net / wireless / wl12xx / wl1251_main.c
index 568b640..c5f2d9d 100644 (file)
@@ -375,7 +375,7 @@ static int wl1251_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
         * before that, the tx_work will not be initialized!
         */
 
-       schedule_work(&wl->tx_work);
+       ieee80211_queue_work(wl->hw, &wl->tx_work);
 
        /*
         * The workqueue is slow to process the tx_queue and we need stop