On Thu, 2008-09-18 at 19:42 +0200, Ivo van Doorn wrote: > Well from my perspective: > Note that 'sw' is the RADIO state as requested by mac80211 and > 'hw' is the RFKILL state as indicated by the hardware > > radio: block, rfkill: block => BLOCK > radio: block, rfkill: unblock => UNBLOCK > radio: unblock, rfkill: block => BLOCK > radio: unblock, rfkill: unblock => UNBLOCK Can't that crap just live in rfkill? rfkill_announce_softstate(OPEN/BLOCKED) rfkill_announce_hardstate(OPEN/BLOCKED) and all the other junk happens there. And make sure this can be called from interrupts. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part