Staging: stlc45xx: fix usage of mac80211 workqueue
PATCH 1/1 Staging: stlc45xx: fix usage of mac80211 workqueue
See commit 42935ecaf(mac80211: redefine usage of the mac80211 workqueue).
Fix build error.
Signed-off-by Alexander Beregalov <[email protected]>
--- drivers/staging/stlc45xx/stlc45xx.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/stlc45xx/stlc45xx.c +4 -4
@@ -1058,7 +1058,7 @@ static void stlc45xx_reset(struct stlc45xx *stlc)stlc45xx_warning ("resetting firmware" ); stlc->fw_state =FW_STATE_RESET ;ieee80211_stop_queues (stlc->hw); -queue_work (stlc->hw->workqueue, &stlc->work_reset); +ieee80211_queue_work (stlc->hw, &stlc->work_reset); }static void stlc45xx_work_tx_timeout (struct work_struct *work)
@@ -1489,7 +1489,7 @@ static irqreturn_t stlc45xx_interrupt(int irq, void *config)stlc45xx_debug (DEBUG_IRQ ,"IRQ" ); -queue_work (stlc->hw->workqueue, &stlc->work); +ieee80211_queue_work (stlc->hw, &stlc->work);return IRQ_HANDLED ; }
@@ -1568,7 +1568,7 @@ static int stlc45xx_wq_tx(struct stlc45xx *stlc) }list_add (&entry->tx_list, &stlc->tx_sent); -queue_delayed_work (stlc->hw->workqueue, +ieee80211_queue_delayed_work (stlc->hw, &stlc->work_tx_timeout,msecs_to_jiffies (TX_TIMEOUT )); }
@@ -2132,7 +2132,7 @@ static int stlc45xx_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)ieee80211_stop_queues (stlc->hw); } -queue_work (stlc->hw->workqueue, &stlc->work); +ieee80211_queue_work (stlc->hw, &stlc->work);spin_unlock_bh (&stlc->tx_lock);
Signature · 1 line
1.6.4.1