aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-08-25 09:25:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 15:02:29 -0400
commit252a1b9162b6dbac7324854eb4137404932b574d (patch)
treeb89a2f22f1f480c94eb08173f048d13faa9d2f35 /drivers
parent7ff177a88782461893316a512e75a3f169fbae8b (diff)
Staging: agnx: remove flush_workqueue()
mac80211 already does flush_workqueue() at stop/start and suspend\resume. (fix build error) Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/agnx/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c
index 1fe987065257..32b5489456a8 100644
--- a/drivers/staging/agnx/pci.c
+++ b/drivers/staging/agnx/pci.c
@@ -280,7 +280,7 @@ static void agnx_stop(struct ieee80211_hw *dev)
280 /* make sure hardware will not generate irq */ 280 /* make sure hardware will not generate irq */
281 agnx_hw_reset(priv); 281 agnx_hw_reset(priv);
282 free_irq(priv->pdev->irq, dev); 282 free_irq(priv->pdev->irq, dev);
283 flush_workqueue(priv->hw->workqueue); 283/* flush_workqueue(priv->hw->workqueue); */
284/* cancel_delayed_work_sync(&priv->periodic_work); */ 284/* cancel_delayed_work_sync(&priv->periodic_work); */
285 unfill_rings(priv); 285 unfill_rings(priv);
286 rings_free(priv); 286 rings_free(priv);