Am Mittwoch, 14. Januar 2009 schrieb samuel@xxxxxxxxxx: > > Hi Helmut, > > On Wed, 14 Jan 2009 16:58:50 +0100, Helmut Schaa > <helmut.schaa@xxxxxxxxxxxxxx> wrote: > > Currently iwl3945 is not able to report hw-killswitch events while the > > interface is down. This has implications on user space tools (like > > NetworkManager) relying on rfkill notifications to bring the interface > > up once the wireless gets enabled through a hw killswitch. > > > > Thus enable the device already in iwl3945_pci_probe instead of iwl3945_up > > and poll the CSR_GP_CNTRL register to update the killswitch state every > > two seconds. The polling is only needed on 3945 hardware as this adapter > > does not use interrupts to signal rfkill changes to the driver (in case > no > > firmware is loaded). The firmware loading is still done in iwl3945_up. > The patch looks good and makes sense. > However, it would be nice to cancel the rfkill polling work once the > firmware is loaded, as we'll then get card state notifications. Right, missed that somehow. I'll prepare a second version tomorrow. Thanks, Helmut -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html