ipw2100: fix rebooting hang with driver loaded
commit67f3bf7f5b9ae151ef227b31d343c677d1f9b789
authorZhu Yi <yi.zhu@intel.com>
Wed, 2 Dec 2009 06:24:37 +0000 (2 14:24 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:05:31 +0000 (18 14:05 -0800)
treecf93cb57d49c8cfa40990e98699033b31764376d
parent1794daecdb3e628cb1fcb8aee8d3ac30571aa753
ipw2100: fix rebooting hang with driver loaded

commit 52ce3e9a7db754b78cf2cbabc87013f921b25b28 upstream.

Add PCI .shutdown method so that we can disable the device during
shutdown or reboot. Without this, the reboot doesn't work well on
some platforms.

This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2124

Tested-by: pablo <pablolm2005@gmail.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ipw2x00/ipw2100.c