linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFT] rtlwifi: use alloc_workqueue
@ 2010-12-16 19:59 John W. Linville
  2010-12-17  3:45 ` Larry Finger
  2010-12-18  1:29 ` Larry Finger
  0 siblings, 2 replies; 5+ messages in thread
From: John W. Linville @ 2010-12-16 19:59 UTC (permalink / raw)
  To: linux-wireless; +Cc: Tejun Heo, Larry Finger, John W. Linville

create_workqueue is deprecated.  The workqueue usage does not seem to
demand any special treatment, so do not set any flags either.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
I don't have the hardware to test...

 drivers/net/wireless/rtlwifi/base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c
index 9e860ff..24a7cd3 100644
--- a/drivers/net/wireless/rtlwifi/base.c
+++ b/drivers/net/wireless/rtlwifi/base.c
@@ -225,7 +225,7 @@ static void _rtl_init_deferred_work(struct ieee80211_hw *hw)
 
 	/* <2> work queue */
 	rtlpriv->works.hw = hw;
-	rtlpriv->works.rtl_wq = create_workqueue(rtlpriv->cfg->name);
+	rtlpriv->works.rtl_wq = alloc_workqueue(rtlpriv->cfg->name, 0, 0);
 	INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq,
 			  (void *)rtl_watchdog_wq_callback);
 	INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq,
-- 
1.7.3.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-18  7:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 19:59 [RFT] rtlwifi: use alloc_workqueue John W. Linville
2010-12-17  3:45 ` Larry Finger
2010-12-17  9:57   ` Tejun Heo
2010-12-18  1:29 ` Larry Finger
2010-12-18  7:13   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).