mac80211: return the RSSI in dBm
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 20 Mar 2013 15:05:45 +0000 (17:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 18:25:12 +0000 (19:25 +0100)
For the sake of speed of calculation and number accuracy,
mac80211 tracks the RSSI in dBm * 16. But it forgot to
divide back by 16 when the RSSI is asked by the driver.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found