linux/drivers/net/wireless/iwlwifi
Reinette Chatre 89c581b3fb iwlwifi: fix suspend/resume and its usage of pci saved state
Here we do two things:

First, revert "iwlwifi: save PCI state before suspend, restore after
resume".  That misguided patch led to being unable to use iwlwifi
devices after resume.

Next, indicate to PCI driver that the saved PCI state is valid during suspend.

We restore PCI state and enable the device when network interface is created,
similarly PCI state is saved and the device is disabled when network interface
is removed. Thus, when .suspend is called the PCI state is saved and device
is disabled. This is the case even if an interface is never created as PCI
state is saved and device disabled during .probe.

PCI driver assumes PCI state is saved in .suspend. Saving the state at this
time will save state of disabled device and thus cause problems during
resume (resuming a disabled device). We thus indicate directly to PCI
driver that current PCI saved state is valid.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Alex Riesen <fork0@users.sf.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-11 11:27:21 -05:00
..
iwl-3945-commands.h
iwl-3945-core.h
iwl-3945-debug.h
iwl-3945-hw.h
iwl-3945-io.h
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c iwlwifi: fix rs_get_rate WARN_ON() 2009-01-23 15:38:36 -05:00
iwl-3945-rs.h
iwl-3945.c iwl3945: fix "‘power_idx’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
iwl-3945.h
iwl-4965-hw.h
iwl-4965.c
iwl-5000-hw.h
iwl-5000.c
iwl-agn-hcmd-check.c
iwl-agn-rs.c iwlwifi: fix rs_get_rate WARN_ON() 2009-01-23 15:38:36 -05:00
iwl-agn-rs.h
iwl-agn.c iwlwifi: fix suspend/resume and its usage of pci saved state 2009-02-11 11:27:21 -05:00
iwl-calib.c
iwl-calib.h
iwl-commands.h
iwl-core.c
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c iwlwifi: remove CMD_WANT_SKB flag if send_cmd_sync failure 2009-01-16 17:08:23 -05:00
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c iwlwifi: clean key table in iwl_clear_stations_table 2009-02-04 16:11:42 -05:00
iwl-sta.h
iwl-tx.c
iwl3945-base.c iwlwifi: fix suspend/resume and its usage of pci saved state 2009-02-11 11:27:21 -05:00
Kconfig
Makefile