From: Wanlong Gao <wanlong.gao@gmail.com>
To: Greg Kroah-Hartman <gregkh@suse.de>
Cc: "Lucas De Marchi" <lucas.demarchi@profusion.mobi>,
"Stefan Weil" <weil@mail.berlios.de>,
"Xiaochen Wang" <wangxiaochen0@gmail.com>,
"Ilia Mirkin" <imirkin@alum.mit.edu>,
"Dan Carpenter" <error27@gmail.com>,
"David Chosrova" <dada2372@gmail.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Ben Hutchings" <ben@decadent.org.uk>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
"Wanlong Gao" <wanlong.gao@gmail.com>
Subject: [PATCH 1/3] drivers:rtl8187se:remove the use of obsolete create_workqueue in ieee80211_softmac.c
Date: Sun, 19 Jun 2011 18:11:56 +0800 [thread overview]
Message-ID: <1308478318-8462-1-git-send-email-wanlong.gao@gmail.com> (raw)
Remove the use of obsolete create_workqueue(name, 0) in
ieee80211_softmac.c, since the create_workqueue interface has changed.
Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
---
.../rtl8187se/ieee80211/ieee80211_softmac.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
index 736a140..8925989 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
@@ -2568,11 +2568,8 @@ void ieee80211_softmac_init(struct ieee80211_device *ieee)
ieee->beacon_timer.data = (unsigned long) ieee;
ieee->beacon_timer.function = ieee80211_send_beacon_cb;
-#ifdef PF_SYNCTHREAD
- ieee->wq = create_workqueue(DRV_NAME,0);
-#else
ieee->wq = create_workqueue(DRV_NAME);
-#endif
+
INIT_DELAYED_WORK(&ieee->start_ibss_wq,(void*) ieee80211_start_ibss_wq);
INIT_WORK(&ieee->associate_complete_wq,(void*) ieee80211_associate_complete_wq);
INIT_WORK(&ieee->associate_procedure_wq,(void*) ieee80211_associate_procedure_wq);
--
1.7.4.1
next reply other threads:[~2011-06-19 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-19 10:11 Wanlong Gao [this message]
2011-06-19 10:11 ` [PATCH 2/3] drivers:rtl8192u:remove the use of obsolete create_workqueue in r8192U_core.c Wanlong Gao
2011-06-19 10:11 ` [PATCH 3/3] drivers:rtl8192u:remove the use of obsolete create_workqueue in ieee80211_softmac.c Wanlong Gao
2011-06-22 8:40 ` [PATCH 1/3] drivers:rtl8187se:remove " Wanlong Gao
2011-06-22 11:11 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308478318-8462-1-git-send-email-wanlong.gao@gmail.com \
--to=wanlong.gao@gmail.com \
--cc=ben@decadent.org.uk \
--cc=dada2372@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=error27@gmail.com \
--cc=gregkh@suse.de \
--cc=imirkin@alum.mit.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=lucas.demarchi@profusion.mobi \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wangxiaochen0@gmail.com \
--cc=weil@mail.berlios.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®