iwlwifi: call apm stop on exit
authorGregory Greenman <gregory.greenman@intel.com>
Wed, 3 Sep 2008 03:18:49 +0000 (11:18 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Sep 2008 19:10:37 +0000 (15:10 -0400)
commitd535311ecbba0d692b5f1278b8bcb2581c3482e0
treee71d516c2a725e2b5411434730390e2b7302235e
parent73b7d742519ab4cc1b7a12c7af15187fc0ede8e7
iwlwifi: call apm stop on exit

This patch calls apm stop on exit and suspend. Without this patch
hardware consumes power even after driver is removed or suspended.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c