linux/drivers/net/wireless/iwlwifi
Stanislaw Gruszka 554d1d027b iwlagn: enable only rfkill interrupt when device is down
Since commit 6cd0b1cb87 "iwlagn: fix
hw-rfkill while the interface is down", we enable interrupts when
device is not ready to receive them. However hardware, when it is in
some inconsistent state, can generate other than rfkill interrupts
and crash the system. I can reproduce crash with "kernel BUG at
drivers/net/wireless/iwlwifi/iwl-agn.c:1010!" message, when forcing
firmware restarts.

To fix only enable rfkill interrupt when down device and after probe.
I checked patch on laptop with 5100 device, rfkill change is still
passed to user space when device is down.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable@kernel.org
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-04 14:15:08 -05:00
..
iwl3945-base.c iwlwifi: dont use pci_dev before it being assign 2010-11-09 14:25:46 -05:00
iwl-1000.c iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
iwl-3945.c iwl3945: fix queue allocation 2010-10-12 08:33:33 -07:00
iwl-3945.h iwlwifi: remove agn rates info there 2010-10-07 15:51:20 -07:00
iwl-4965-hw.h
iwl-4965.c iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: remove apm_ops.stop 2010-10-07 15:52:34 -07:00
iwl-6000-hw.h
iwl-6000.c iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-agn-calib.c iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-calib.h iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-debugfs.c
iwl-agn-debugfs.h
iwl-agn-eeprom.c iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-agn-hcmd.c iwlwifi: move chain settings to agn 2010-10-07 15:49:34 -07:00
iwl-agn-hw.h
iwl-agn-ict.c
iwl-agn-led.c
iwl-agn-led.h
iwl-agn-lib.c iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-agn-rs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
iwl-agn-rs.h iwlwifi: remove agn rates info there 2010-10-07 15:51:20 -07:00
iwl-agn-rx.c iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-agn-sta.c iwlwifi: move agn specific station code there 2010-10-07 15:50:33 -07:00
iwl-agn-tt.c iwlwifi: remove spurious exports 2010-10-07 15:51:11 -07:00
iwl-agn-tt.h
iwl-agn-tx.c iwlwifi: quiet a noisy printk 2010-10-25 14:45:56 -04:00
iwl-agn-ucode.c iwlagn: add temperature offset calib for 6000g2 2010-10-07 15:53:58 -07:00
iwl-agn.c iwlagn: enable only rfkill interrupt when device is down 2011-01-04 14:15:08 -05:00
iwl-agn.h iwlwifi: move agn only eeprom functions to separate file 2010-10-14 09:47:42 -07:00
iwl-commands.h iwlagn: add temperature offset calib for 6000g2 2010-10-07 15:53:58 -07:00
iwl-core.c iwlwifi: blink LED in IBSS mode 2010-10-14 09:47:27 -07:00
iwl-core.h iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
iwl-dev.h iwlwifi: rename ibss_beacon variable 2010-10-14 09:46:42 -07:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c iwlwifi: move agn only eeprom functions to separate file 2010-10-14 09:47:42 -07:00
iwl-eeprom.h iwlagn: implement layout-agnostic EEPROM reading 2010-12-09 10:09:14 -08:00
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h iwlagn: enable only rfkill interrupt when device is down 2011-01-04 14:15:08 -05:00
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c iwlwifi: clean up declarations 2010-10-07 15:52:44 -07:00
iwl-scan.c iwlwifi: remove spurious exports 2010-10-07 15:51:11 -07:00
iwl-spectrum.h
iwl-sta.c iwlwifi: move agn specific station code there 2010-10-07 15:50:33 -07:00
iwl-sta.h iwlwifi: move agn specific station code there 2010-10-07 15:50:33 -07:00
iwl-tx.c iwlwifi: move tx fail code to agn 2010-10-07 15:50:48 -07:00
Kconfig
Makefile iwlwifi: move agn only eeprom functions to separate file 2010-10-14 09:47:42 -07:00