android_kernel_xiaomi_sm8350/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
..
iwl3945-base.c iwl3945: use iwl_mac_conf_tx 2009-04-22 16:54:27 -04:00
iwl-1000.c iwlwifi: correct device name for 1000 series 2009-03-16 18:09:36 -04:00
iwl-3945-fh.h
iwl-3945-hw.h iwl3945: set TFD_QUEUE_MAX to correct value 2009-03-27 20:12:58 -04:00
iwl-3945-led.c iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-3945-rs.c iwl3945: control rate decrease 2009-03-27 20:12:59 -04:00
iwl-3945.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
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 mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-5000-hw.h
iwl-5000.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-6000-hw.h
iwl-6000.c
iwl-agn-rs.c iwlwifi: verify the antenna selection when receive fixed rate debugfs 2009-03-16 18:09:45 -04:00
iwl-agn-rs.h iwlwifi: HT performance improvement changes 2009-03-16 18:09:44 -04:00
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 iwlwifi: correct device name for 1000 series 2009-03-16 18:09:36 -04:00
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 mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
iwl-io.h iwlwifi: print contents of control register when error occurs 2009-03-16 18:09:47 -04:00
iwl-led.c
iwl-led.h iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
iwl-power.c iwlcore: dont commit power command if interface is not up 2009-03-27 20:12:58 -04:00
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 iwlwifi: report error when detect failure during stop agg queue 2009-03-27 20:13:00 -04:00
iwl-sta.h iwl3945: unify set key flow with iwlwifi 2009-03-05 14:39:36 -05:00
iwl-tx.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
Kconfig iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00
Makefile iwl3945: use iwl_led structure 2009-03-16 18:09:46 -04:00