android_kernel_xiaomi_sm8350/drivers/net/wireless
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
..
ath5k ath5k: fix bf->skb==NULL panic in ath5k_tasklet_rx 2009-02-11 11:27:16 -05:00
ath9k ath9k: Fix an operator typo in REG_DOMAIN_2GHZ_MASK 2009-01-16 17:08:23 -05:00
b43
b43legacy
hostap
ipw2x00
iwlwifi iwlwifi: fix suspend/resume and its usage of pci saved state 2009-02-11 11:27:21 -05:00
libertas
libertas_tf
orinoco orinoco: use KERN_DEBUG for link status messages 2009-01-22 13:55:01 -05:00
p54 p54usb: fix packet loss with first generation devices 2009-01-23 15:38:35 -05:00
prism54
rt2x00 rt2x00: Fix TX rate short preamble detection 2009-01-22 13:55:01 -05:00
rtl818x rtl8187: Fix error in setting OFDM power settings for RTL8187L 2009-01-29 15:46:42 -05:00
zd1211rw zd1211rw: treat MAXIM_NEW_RF(0x08) as UW2453_RF(0x09) for TP-Link WN322/422G 2009-02-11 11:27:19 -05:00
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
arlan-main.c
arlan-proc.c
arlan.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
i82586.h
i82593.h
Kconfig
mac80211_hwsim.c
Makefile
netwave_cs.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c usbnet: allow type check of devdbg arguments in non-debug build 2009-01-21 12:35:43 -08:00
strip.c
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h