ipw2100: fix rebooting hang with driver loaded
authorZhu Yi <yi.zhu@intel.com>
Wed, 2 Dec 2009 06:24:37 +0000 (14:24 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Dec 2009 19:16:25 +0000 (14:16 -0500)
commit52ce3e9a7db754b78cf2cbabc87013f921b25b28
tree994271a4ae1f045f1776349dbe9f44b6c975809a
parent269ac5fd2d75b118d76a2291e28796527db2f3f8
ipw2100: fix rebooting hang with driver loaded

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>
drivers/net/wireless/ipw2x00/ipw2100.c