iwlwifi: fix thermal throttling related power management operation
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 6 Aug 2010 19:39:14 +0000 (12:39 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:28:19 +0000 (16:28 -0400)
commit6ddbf8cd39dc1faee7ba60337b11eb02edfcbee6
tree761047539493edb772774caaf582ec443e4af9ac
parent2b2d7795371df85bb106513d1b5fec077a29176e
iwlwifi: fix thermal throttling related power management operation

The current approach is very broken because it adds an
often-used code path that will not initialise "cmd" at all.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Shanyu Zhao <shanyu.zhao.intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-power.c