提交 16e711f9 编写于 作者: K Kalle Valo 提交者: John W. Linville

wl1251: use workqueue provided by mac80211

wl1251 should use workqueue created by mac80211 to not block the events
workqueue too long.
Signed-off-by: NKalle Valo <kalle.valo@nokia.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4a818922
...@@ -375,7 +375,7 @@ static int wl1251_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb) ...@@ -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! * 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 * The workqueue is slow to process the tx_queue and we need stop
......
...@@ -55,7 +55,7 @@ static void wl1251_sdio_interrupt(struct sdio_func *func) ...@@ -55,7 +55,7 @@ static void wl1251_sdio_interrupt(struct sdio_func *func)
wl1251_debug(DEBUG_IRQ, "IRQ"); wl1251_debug(DEBUG_IRQ, "IRQ");
/* FIXME should be synchronous for sdio */ /* FIXME should be synchronous for sdio */
schedule_work(&wl->irq_work); ieee80211_queue_work(wl->hw, &wl->irq_work);
} }
static const struct sdio_device_id wl1251_devices[] = { static const struct sdio_device_id wl1251_devices[] = {
......
...@@ -39,7 +39,7 @@ static irqreturn_t wl1251_irq(int irq, void *cookie) ...@@ -39,7 +39,7 @@ static irqreturn_t wl1251_irq(int irq, void *cookie)
wl = cookie; wl = cookie;
schedule_work(&wl->irq_work); ieee80211_queue_work(wl->hw, &wl->irq_work);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册