linux/drivers/net/wireless/iwlwifi
Johannes Berg 9d39e5bad7 iwlagn: avoid hangs when restarting device
If a device error happens while the uCode is
being loaded or initialised, we will attempt
to restart the device (which will likely fail
again, but that's not the issue here). During
this new restart, we turn off the device, but
as the uCode failed to initialise it already
is turned off. As a consequence, grabbing NIC
access will fail and cause excessive messages
and hangs.

To fix this issue, introduce a new status bit
and only attempt to reprogram the device when
it isn't already disabled.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
2011-04-30 08:39:12 -07:00
..
Kconfig iwlwifi: split the drivers for agn and legacy devices 3945/4965 2011-02-21 11:27:26 -08:00
Makefile iwlagn: use direct call for led functions 2011-04-18 08:47:43 -07:00
iwl-1000.c iwlagn: remove un-necessary ieee80211_ops 2011-04-18 09:34:06 -07:00
iwl-2000.c iwlagn: remove un-necessary ieee80211_ops 2011-04-18 09:34:06 -07:00
iwl-5000-hw.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-5000.c iwlagn: remove un-necessary ieee80211_ops 2011-04-18 09:34:06 -07:00
iwl-6000-hw.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-6000.c iwlagn: remove un-necessary ieee80211_ops 2011-04-18 09:34:06 -07:00
iwl-agn-calib.c iwlagn: clean up & autodetect statistics 2011-04-08 08:19:00 -07:00
iwl-agn-calib.h iwlagn: clean up & autodetect statistics 2011-04-08 08:19:00 -07:00
iwl-agn-debugfs.c iwlagn: clean up & autodetect statistics 2011-04-08 08:19:00 -07:00
iwl-agn-debugfs.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-eeprom.c iwlagn: move IO functions out of line 2011-04-07 15:52:28 -04:00
iwl-agn-hcmd.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-hw.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-ict.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-lib.c iwlagn: avoid hangs when restarting device 2011-04-30 08:39:12 -07:00
iwl-agn-rs.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-rs.h iwlagn: no 3945 define needed 2011-04-08 08:00:19 -07:00
iwl-agn-rxon.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-04-26 15:39:10 -04:00
iwl-agn-sta.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-tt.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-tt.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-agn-tx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-04-26 15:39:10 -04:00
iwl-agn-ucode.c iwlagn: combine firmware code/data 2011-04-22 10:21:18 -07:00
iwl-agn.c iwlagn: fix tx power initialization 2011-04-29 15:36:13 -04:00
iwl-agn.h iwlagn: combine firmware code/data 2011-04-22 10:21:18 -07:00
iwl-commands.h iwlagn: implement synchronous firmware load 2011-04-22 10:18:48 -07:00
iwl-core.c iwlagn: avoid hangs when restarting device 2011-04-30 08:39:12 -07:00
iwl-core.h iwlagn: avoid hangs when restarting device 2011-04-30 08:39:12 -07:00
iwl-csr.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-debug.h iwlagn: move IO functions out of line 2011-04-07 15:52:28 -04:00
iwl-debugfs.c iwlagn: combine firmware code/data 2011-04-22 10:21:18 -07:00
iwl-dev.h iwlagn: remove hw_ready variable 2011-04-22 10:21:23 -07:00
iwl-devtrace.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-devtrace.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-eeprom.c iwlagn: fix tx power initialization 2011-04-29 15:36:13 -04:00
iwl-eeprom.h iwlagn: remove most BUG_ON instances 2011-04-18 09:14:30 -07:00
iwl-fh.h iwlagn: more cleanup to remove unused reference 2011-04-08 08:01:37 -07:00
iwl-hcmd.c iwlagn: remove most BUG_ON instances 2011-04-18 09:14:30 -07:00
iwl-helpers.h iwlagn: combine firmware code/data 2011-04-22 10:21:18 -07:00
iwl-io.c iwlagn: simplify error table reading 2011-04-22 10:02:19 -07:00
iwl-io.h iwlagn: simplify error table reading 2011-04-22 10:02:19 -07:00
iwl-led.c iwlagn: use direct call for led functions 2011-04-18 08:47:43 -07:00
iwl-led.h iwlagn: use direct call for led functions 2011-04-18 08:47:43 -07:00
iwl-power.c iwlagn: temperature should be measure for all _agn devices 2011-04-18 09:30:09 -07:00
iwl-power.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-prph.h iwlagn: more cleanup to remove unused reference 2011-04-08 08:01:37 -07:00
iwl-rx.c iwlagn: implement synchronous firmware load 2011-04-22 10:18:48 -07:00
iwl-scan.c iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-spectrum.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-sta.c iwlagn: remove most BUG_ON instances 2011-04-18 09:14:30 -07:00
iwl-sta.h iwlagn: change Copyright to 2011 2011-04-07 15:51:37 -04:00
iwl-tx.c iwlwifi: fix possible data overwrite in hcmd callback 2011-04-25 14:50:15 -04:00