linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: drago01 <drago01@gmail.com>
Cc: "Linux Wireless" <linux-wireless@vger.kernel.org>,
	"Larry Finger" <larry.finger@lwfinger.net>,
	stefano.brivio@polimi.it,
	"John W. Linville" <linville@tuxdriver.com>,
	"Henrique de Moraes Holschuh" <hmh@hmh.eng.br>,
	"Ivo van Doorn" <ivdoorn@gmail.com>
Subject: Re: [PATCH] b43/b43legacy: use RFKILL_STATE_UNBLOCKED instead of RFKILL_STATE_ON
Date: Sat, 28 Jun 2008 19:10:00 +0200	[thread overview]
Message-ID: <200806281910.00764.mb@bu3sch.de> (raw)
In-Reply-To: <f6ca9fed0806280520u10272c66see3e1d4a24cb2974@mail.gmail.com>

On Saturday 28 June 2008 14:20:40 drago01 wrote:
> This patch removes the usage RFKILL_STATE_ON and uses
> RFKILL_STATE_UNBLOCKED instead.
> 
> Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>

ACK. john, please apply this one.

> diff --git a/drivers/net/wireless/b43/rfkill.c
> b/drivers/net/wireless/b43/rfkill.c
> index 4cca203..34ae125 100644
> --- a/drivers/net/wireless/b43/rfkill.c
> +++ b/drivers/net/wireless/b43/rfkill.c
> @@ -135,7 +135,7 @@ void b43_rfkill_init(struct b43_wldev *dev)
>  	snprintf(rfk->name, sizeof(rfk->name),
>  		 "b43-%s", wiphy_name(wl->hw->wiphy));
>  	rfk->rfkill->name = rfk->name;
> -	rfk->rfkill->state = RFKILL_STATE_ON;
> +	rfk->rfkill->state = RFKILL_STATE_UNBLOCKED;
>  	rfk->rfkill->data = dev;
>  	rfk->rfkill->toggle_radio = b43_rfkill_soft_toggle;
>  	rfk->rfkill->user_claim_unsupported = 1;
> diff --git a/drivers/net/wireless/b43legacy/rfkill.c
> b/drivers/net/wireless/b43legacy/rfkill.c
> index 8935a30..b32bf6a 100644
> --- a/drivers/net/wireless/b43legacy/rfkill.c
> +++ b/drivers/net/wireless/b43legacy/rfkill.c
> @@ -139,7 +139,7 @@ void b43legacy_rfkill_init(struct b43legacy_wldev *dev)
>  	snprintf(rfk->name, sizeof(rfk->name),
>  		 "b43legacy-%s", wiphy_name(wl->hw->wiphy));
>  	rfk->rfkill->name = rfk->name;
> -	rfk->rfkill->state = RFKILL_STATE_ON;
> +	rfk->rfkill->state = RFKILL_STATE_UNBLOCKED;
>  	rfk->rfkill->data = dev;
>  	rfk->rfkill->toggle_radio = b43legacy_rfkill_soft_toggle;
>  	rfk->rfkill->user_claim_unsupported = 1;
> 
> 



-- 
Greetings Michael.

      reply	other threads:[~2008-06-28 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 12:20 [PATCH] b43/b43legacy: use RFKILL_STATE_UNBLOCKED instead of RFKILL_STATE_ON drago01
2008-06-28 17:10 ` Michael Buesch [this message]

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=200806281910.00764.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=drago01@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=ivdoorn@gmail.com \
    --cc=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=stefano.brivio@polimi.it \
    /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;
as well as URLs for NNTP newsgroup(s).