diff options
Diffstat (limited to 'fwcmd.c')
-rw-r--r-- | fwcmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2709,7 +2709,8 @@ int mwl_fwcmd_get_temp(struct ieee80211_hw *hw, u32 *temp) return -EIO; } - *temp = le32_to_cpu(pcmd->celcius); + wiphy_info(hw->wiphy, "got celcius=%u, raw=%u\n", pcmd->celcius, pcmd->raw_data); + *temp = (le32_to_cpu(pcmd->celcius) - 32) * 5 / 9; mutex_unlock(&priv->fwcmd_mutex); |