Search Linux Wireless

Re: [PATCH] rfkill: always init poll delayed work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-06-03 at 09:50 -0500, Larry Finger wrote:

> This patch fixed to kernel BUG_ON, but there are still problems. This
> has been tested with b43.

Thanks.

> 1. A minor one - the radio LED switch never comes on. Module led-class
> is loaded.

Hmm, that's odd, but I linked it to mac80211's radio LED trigger now, I
think. Can you verify that?

> 2. Much more serious - When the radio kill switch is turned off, the
> radio is killed just as expected, but it is not restored when the
> switch is turned on. The only way to restore the radio is to
> rmmod/insmod b43. Similarly, if the module is loaded with the switch
> off, it is not possible to turn the radio on. An unload/load resquence
> is then needed.

I suspected that much. And you can't recover that since you can't set
the interface UP. This is because polling doesn't work while the
interface is set down. As I said previously, I think that's previously
been buggy too, if you did
 1) hard kill
 2) set interface down
 3) hard unkill

then step 3) would not trigger an event to userspace until you set the
interface up again, afaict.

We probably need to bring up the core to poll it, if possible?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux