linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/29] mwl8k: remove usage of deprecated radio_enabled
@ 2009-08-18  3:52 Lennert Buytenhek
  2009-08-18  7:27 ` Johannes Berg
  2009-08-18  7:28 ` Johannes Berg
  0 siblings, 2 replies; 7+ messages in thread
From: Lennert Buytenhek @ 2009-08-18  3:52 UTC (permalink / raw)
  To: linville, linux-wireless

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
---
 drivers/net/wireless/mwl8k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 9f54204..3a201a2 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -2935,7 +2935,7 @@ static int mwl8k_config_wt(struct work_struct *wt)
 	struct mwl8k_priv *priv = hw->priv;
 	int rc = 0;
 
-	if (!conf->radio_enabled) {
+	if (conf->flags & IEEE80211_CONF_IDLE) {
 		mwl8k_cmd_802_11_radio_disable(hw);
 		priv->current_channel = NULL;
 		rc = 0;
-- 
1.5.6.4

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

end of thread, other threads:[~2009-08-18  9:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18  3:52 [PATCH 09/29] mwl8k: remove usage of deprecated radio_enabled Lennert Buytenhek
2009-08-18  7:27 ` Johannes Berg
2009-08-18  8:24   ` Lennert Buytenhek
2009-08-18  7:28 ` Johannes Berg
2009-08-18  8:25   ` Lennert Buytenhek
2009-08-18  8:26     ` Johannes Berg
2009-08-18  9:52       ` Lennert Buytenhek

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).