Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74ef03a3baf035412c95192b54dfc6f

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Buesch
Date: Wednesday, September 17, 2008 - 7:19 am

On Tuesday 16 September 2008 23:09:20 Matthew Garrett wrote:

I still thing that it is really wrong to check and change the software
rfkill state from within the _hardware_ rfkill state handler.
So let's say this handler sets the state to SOFT_BLOCKED. Who is going
to set it back to unblocked, if the user unblocks the radio?

We can turn the radio on/off from the mac80211 config callback. Possibly
we must tell rfkill about it (I'm not sure. I don't understand the API).
I think this is pretty hard to get right, actually. HW-block and SW-block
are two completely independent states in b43. You can HW-block and SW-block
the device at the same time. So one must make sure that at any time the rfkill
is in a sane state if _either_ HW-block or SW-block changes. Currently I think
we only change rfkill state if HW-block state changes. Which is wrong.


In the end, I do not care about this crap anymore.
Feel free to remove my copyright notice from that file and put yours in
there. So feel free to send any patch to the rfkill code to john, but please
handle any regressions resulting from it. If not, I will handle them by reverting
patches until it starts to work again. ;)

-- 
Greetings Michael.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Regression in 2.6.27-rcX caused by commit bc19d6e ..., Carlos Corbacho, (Tue Sep 16, 1:44 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Tue Sep 16, 3:37 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Tue Sep 16, 3:40 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Tue Sep 16, 7:33 pm)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Michael Buesch, (Wed Sep 17, 7:19 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Wed Sep 17, 7:50 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Wed Sep 17, 8:18 am)
Re: Regression in 2.6.27-rcX caused by commit bc19d6e0b74e ..., Henrique de Moraes H ..., (Wed Sep 17, 8:36 am)
[PATCH] rfkill: update LEDs for all state changes, Henrique de Moraes H ..., (Wed Sep 17, 1:07 pm)
Re: [PATCH] rfkill: update LEDs for all state changes, Larry Finger, (Wed Sep 17, 1:55 pm)
Re: [PATCH] rfkill: update LEDs for all state changes, Henrique de Moraes H ..., (Thu Sep 18, 5:43 am)
Re: [PATCH] rfkill: update LEDs for all state changes, Ivo van Doorn, (Thu Sep 18, 5:49 am)
Re: [PATCH] rfkill: update LEDs for all state changes, Larry Finger, (Thu Sep 18, 6:09 am)
Re: [PATCH] rfkill: update LEDs for all state changes, Henrique de Moraes H ..., (Thu Sep 18, 6:18 am)