linux-stable-rt/drivers/net/wireless/iwlwifi
Reinette Chatre 55a3757a57 iwlwifi: change check triggering device restart after rfkill change
The STATUS_ALIVE value cannot be used because it is cleared when
interface is brought down and will not be set if rfkill is enabled when
interface is started again. The interface can thus not be brought up if
rfkill was enabled before stopping the interface and disabled after
starting the interface.

Change the test to use priv->is_open instead, this will be set when
interface is started whether rfkill is enabled or not.

Thanks to Helmut Schaa for the suggested fix.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-22 16:54:37 -04:00
..
Kconfig
Makefile
iwl-1000.c
iwl-3945-fh.h
iwl-3945-hw.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h iwlwifi: merge and better support of suspend/resume for iwlagn and iwl3945 2009-04-22 16:54:27 -04:00
iwl-4965-hw.h
iwl-4965.c
iwl-5000-hw.h
iwl-5000.c
iwl-6000-hw.h
iwl-6000.c
iwl-agn-rs.c
iwl-agn-rs.h
iwl-agn.c iwl3945: use iwl_mac_conf_tx 2009-04-22 16:54:27 -04:00
iwl-calib.c
iwl-calib.h
iwl-commands.h
iwl-core.c iwlwifi: change check triggering device restart after rfkill change 2009-04-22 16:54:37 -04:00
iwl-core.h iwl3945: use iwl_mac_conf_tx 2009-04-22 16:54:27 -04:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c iwlwifi: merge and better support of suspend/resume for iwlagn and iwl3945 2009-04-22 16:54:27 -04:00
iwl-dev.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rfkill.c rfkill: remove user_claim stuff 2009-04-22 16:54:27 -04:00
iwl-rfkill.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c
iwl3945-base.c iwl3945: use iwl_mac_conf_tx 2009-04-22 16:54:27 -04:00