iwlagn: report correct temperature for WiFi/BT devices.
authorFry, Donald H <donald.h.fry@intel.com>
Fri, 25 Feb 2011 17:44:48 +0000 (09:44 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 3 Mar 2011 18:05:11 +0000 (10:05 -0800)
commitf8f79a5dbeb59a13a3f8101b24cbe19ec6e92d07
tree34f4cfa4bec4709de14e38312757234187c4bda4
parente46395a4b3d32d161d8b6d8e4a002972b1faae3e
iwlagn: report correct temperature for WiFi/BT devices.

The temperature reported by 'cat /sys/class/net/wlan?/device/temperature'
is incorrect for devices with BT capability.  Report the value from the
correct statistics structure.  Tested with 130, 100, 6205 and 5300.

Signed-off-by: Don Fry <donald.h.fry@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-lib.c