linux/drivers/net/wireless
Reinette Chatre c4e061ace7 iwlwifi: save PCI state before suspend, restore after resume
This is the right thing to do and fixes the following warning:

[  115.012278] ------------[ cut here ]------------
[  115.012281] WARNING: at drivers/pci/pci-driver.c:370
pci_legacy_suspend+0x85/0xc2()
[  115.012285] Hardware name: Latitude D630
[  115.012301] PCI PM: Device state not saved by
iwl3945_pci_suspend+0x0/0x4c [iwl3945]
[  115.012304] Modules linked in: fuse nfsd lockd nfs_acl auth_rpcgss
exportfs sunrpc ipv6 acpi_cpufreq kvm_intel kvm snd_hda_codec_idt
snd_hda_intel snd_hda_codec snd_hwdep arc4 snd_seq_device snd_pcm_oss
snd_mixer_oss ecb snd_pcm cryptomgr aead snd_timer crypto_blkcipher
snd snd_page_alloc ohci1394 crypto_hash crypto_algapi ch341 ieee1394
usbserial thermal iwl3945 mac80211 led_class lib80211 tg3 processor
i2c_i801 i2c_core sg cfg80211 libphy usbhid battery ac button sr_mod
cdrom evdev dcdbas ata_generic ata_piix libata sd_mod scsi_mod ext3
jbd mbcache uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded:
microcode]
[  115.012374] Pid: 4163, comm: pm-suspend Not tainted
2.6.29-rc3-00227-gf1dd849-dirty #67
[  115.012377] Call Trace:
[  115.012382]  [<ffffffff8023d04d>] warn_slowpath+0xb1/0xed
[  115.012387]  [<ffffffff80450b5e>] ? _spin_unlock_irqrestore+0x5c/0x78
[  115.012390]  [<ffffffff80254f08>] ? up+0x34/0x39
[  115.012394]  [<ffffffff80362319>] ? acpi_ut_release_mutex+0x5d/0x61
[  115.012397]  [<ffffffff803584b2>] ? acpi_get_data+0x5e/0x70
[  115.012400]  [<ffffffff80363dd9>] ? acpi_bus_get_device+0x25/0x39
[  115.012403]  [<ffffffff80363e98>] ? acpi_bus_power_manageable+0x11/0x29
[  115.012406]  [<ffffffff803462f7>] ? acpi_pci_power_manageable+0x17/0x19
[  115.012410]  [<ffffffff8033ddfd>] ? pci_set_power_state+0xcc/0x101
[  115.012418]  [<ffffffffa01f28e9>] ? iwl3945_pci_suspend+0x0/0x4c [iwl3945]
[  115.012422]  [<ffffffff803401e6>] pci_legacy_suspend+0x85/0xc2
[  115.012425]  [<ffffffff80340316>] pci_pm_suspend+0x34/0x86
[  115.012429]  [<ffffffff8039d7ce>] pm_op+0x52/0xe5
[  115.012432]  [<ffffffff8039dd78>] device_suspend+0x32a/0x451
[  115.012436]  [<ffffffff80269ec2>] suspend_devices_and_enter+0x3e/0x13a
[  115.012439]  [<ffffffff8026a128>] enter_state+0x110/0x164
[  115.012442]  [<ffffffff8026a233>] state_store+0xb7/0xd7
[  115.012446]  [<ffffffff8032f95f>] kobj_attr_store+0x17/0x19
[  115.012449]  [<ffffffff80307d64>] sysfs_write_file+0xe4/0x119
[  115.012453]  [<ffffffff802baa7a>] vfs_write+0xae/0x137
[  115.012456]  [<ffffffff802babc7>] sys_write+0x47/0x70
[  115.012459]  [<ffffffff8020b73a>] system_call_fastpath+0x16/0x1b
[  115.012467] ---[ end trace 829828966f6f24dc ]---

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Ming Lei <tom.leiming@gmail.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-04 16:11:42 -05:00
..
ath5k ath5k: fix locking in ath5k_config 2009-01-29 16:11:19 -05:00
ath9k ath9k: Fix an operator typo in REG_DOMAIN_2GHZ_MASK 2009-01-16 17:08:23 -05:00
b43 b43: fix "‘gmode’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
b43legacy b43legacy: fix "‘up_dev’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
hostap hostap: select required crypto bits in Kconfig 2008-12-05 09:32:10 -05:00
ipw2x00 trivial: Fix misspelling of "firmware" in ipw2100.c 2009-01-06 11:28:08 +01:00
iwlwifi iwlwifi: save PCI state before suspend, restore after resume 2009-02-04 16:11:42 -05:00
libertas libertas: Fix alignment issues in libertas core 2009-01-16 17:08:23 -05:00
libertas_tf libertas_tf: return NETDEV_TX_OK in TX op 2009-01-12 14:24:57 -05:00
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 drivers/net/wireless/prism54: fix sparse warnings: make symbols static 2008-12-26 00:15:03 -08:00
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: adding Sitecom WL-603 (0df6:0036) to the USB id list 2009-01-22 13:55:03 -05:00
Kconfig Wireless: Fix Kconfig fact error 2009-01-12 14:24:49 -05:00
Makefile
adm8211.c
adm8211.h
airo.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
airo.h
airo_cs.c
arlan-main.c
arlan-proc.c
arlan.h
atmel.c trivial: Fix misspelling of "firmware" in atmel.c 2009-01-06 11:28:08 +01:00
atmel.h
atmel_cs.c
atmel_pci.c
i82586.h
i82593.h
mac80211_hwsim.c mac80211: Fix HT channel selection 2008-12-19 15:22:54 -05:00
netwave_cs.c
ray_cs.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
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 trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wavelan.c
wavelan.h
wavelan.p.h
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wl3501.h
wl3501_cs.c
zd1201.c netdevice zd1201: Use after free 2008-12-18 22:27:38 -08:00
zd1201.h