Skip to contentSkip to conversation

Staging: agnx: remove flush_workqueue()

PATCH New Alexander Beregalov 1 participant 1 message Aug 25, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: agnx: remove flush_workqueue()

mac80211 already does flush_workqueue() at stop/start and suspend\resume.
(fix build error)

---
 drivers/staging/agnx/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/agnx/pci.c +1 -1
index 1fe9870..32b5489 100644
@@ -280,7 +280,7 @@ static void agnx_stop(struct ieee80211_hw *dev)
 	/* make sure hardware will not generate irq */
 	agnx_hw_reset(priv);
 	free_irq(priv->pdev->irq, dev);
-	flush_workqueue(priv->hw->workqueue);
+/*	flush_workqueue(priv->hw->workqueue); */
 /*	cancel_delayed_work_sync(&priv->periodic_work); */
 	unfill_rings(priv);
 	rings_free(priv);
Signature · 1 line
1.6.4