linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	Adel Gadllah <adel.gadllah@gmail.com>,
	wireless <linux-wireless@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Michael Buesch <mb@bu3sch.de>,
	bcm43xx-dev@lists.berlios.de,
	John Linville <linville@tuxdriver.com>
Subject: Re: Regression in 2.6.27-rcX caused by commit      bc19d6e0b74ef03a3baf035412c95192b54dfc6f
Date: Tue, 16 Sep 2008 16:07:07 -0500	[thread overview]
Message-ID: <48D01FFB.1010302@lwfinger.net> (raw)
In-Reply-To: <39295.87.81.255.5.1221597846.squirrel@phoenix.slamd64.com>

Carlos Corbacho wrote:
>> diff --git a/drivers/net/wireless/b43/rfkill.c
>> b/drivers/net/wireless/b43/rfkill.c
>> index fec5645..e8b2acb 100644
>> --- a/drivers/net/wireless/b43/rfkill.c
>> +++ b/drivers/net/wireless/b43/rfkill.c
>> @@ -49,21 +49,18 @@ static void b43_rfkill_update_state(struct b43_wldev
>> *dev)
>>  	struct b43_rfkill *rfk = &(dev->wl->rfkill);
>>
>>  	if (!dev->radio_hw_enable) {
>> -		rfk->rfkill->state = RFKILL_STATE_HARD_BLOCKED;
>> +		rfkill_force_state(rfk->rfkill, RFKILL_STATE_HARD_BLOCKED);
>>  		return;
>>  	}
>>
>>  	if (!dev->phy.radio_on)
>> -		rfk->rfkill->state = RFKILL_STATE_SOFT_BLOCKED;
>> +		rfkill_force_state(rfk->rfkill, RFKILL_STATE_SOFT_BLOCKED);
>>  	else
>> -		rfk->rfkill->state = RFKILL_STATE_UNBLOCKED;
>> -
>> +		rfkill_force_state(rfk->rfkill, RFKILL_STATE_UNBLOCKED);
>>  }
> 
> Just this should be enough to fix the regression for 2.6.27 (and should be
> trivial to port to b43legacy) in the immediate term (I was planning to
> send something similar).
> 
> The rest of the patch is out-of-scope for 2.6.27, but is definitely along
> he right lines, IMHO (and it would be good if we can get a working version
> of it in to 2.6.28). I may try and look at it later, as I do have my b43
> hardware handy.

This one doesn't crash, but it doesn't turn the light off.

I'm done testing for now!

John,

Revert the patch until the rfkill guys get their house in order.

Larry



  reply	other threads:[~2008-09-16 21:07 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16 14:18 Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a3baf035412c95192b54dfc6f Larry Finger
2008-09-16 15:42 ` Michael Buesch
2008-09-16 17:08   ` Larry Finger
2008-09-16 19:18     ` Carlos Corbacho
2008-09-16 19:25       ` Michael Buesch
2008-09-16 22:37         ` Henrique de Moraes Holschuh
2008-09-17 14:26           ` Michael Buesch
2008-09-17 14:29             ` John W. Linville
2008-09-17 14:33               ` Michael Buesch
2008-09-16 19:30       ` Larry Finger
2008-09-16 23:32         ` Matthew Garrett
2008-09-17  2:33           ` Henrique de Moraes Holschuh
2008-09-17  2:52             ` Larry Finger
2008-09-17 13:23               ` John W. Linville
2008-09-17 20:07             ` [PATCH] rfkill: update LEDs for all state changes Henrique de Moraes Holschuh
2008-09-17 20:55               ` Larry Finger
2008-09-18 12:43                 ` Henrique de Moraes Holschuh
2008-09-18 13:09                   ` Larry Finger
2008-09-18 13:18                     ` Henrique de Moraes Holschuh
2008-09-18 12:49               ` Ivo van Doorn
2008-09-17 14:22           ` Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a3baf035412c95192b54dfc6f Michael Buesch
2008-09-17 14:50             ` Henrique de Moraes Holschuh
2008-09-17 15:28               ` Larry Finger
2008-09-17 15:36                 ` Henrique de Moraes Holschuh
2008-09-17 15:47                   ` Larry Finger
2008-09-16 19:51     ` Matthew Garrett
2008-09-16 20:34       ` Larry Finger
2008-09-16 21:09         ` Matthew Garrett
2008-09-17 14:19           ` Michael Buesch
2008-09-17 15:18             ` Henrique de Moraes Holschuh
2008-09-17 15:59               ` Michael Buesch
2008-09-17 20:51                 ` Tomas Winkler
2008-09-18 13:16                   ` Henrique de Moraes Holschuh
2008-09-16 20:44       ` Carlos Corbacho
2008-09-16 21:07         ` Larry Finger [this message]
2008-09-16 22:40           ` Henrique de Moraes Holschuh

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=48D01FFB.1010302@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=adel.gadllah@gmail.com \
    --cc=bcm43xx-dev@lists.berlios.de \
    --cc=carlos@strangeworlds.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    --cc=mjg59@srcf.ucam.org \
    /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).