Search Linux Wireless

Re: [RFC V2] b43/legacy: port to cfg80211 rfkill

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

 



On Fri, 2009-06-05 at 23:38 +0200, Michael Buesch wrote:

> Hell, just return a freaking error from b43_rfkill_poll(), if the interface
> is down. If rfkill can't handle that, it should probably be taught to handle it.
> Especially as there can be other errors as well, like memory allocation failures.

Be my guest. You'll notice eventually that it's not really easy or
possible to do. I've explained the currently broken scenario already.
And even if you introduce the 'unknown' state, you still end up having
to poll the bit when userspace tries to turn on the device... doesn't
help much.

Larry, thanks for your patch, I'll modify it to turn off the core again
after checking the rfkill bit tomorrow.

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