commit | 3a7bba649eaaa2068aa6e86ed8bcd10245d1f817 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Wed Mar 20 17:05:45 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Mar 20 19:25:12 2013 +0100 |
tree | b3a6daa5ddfcdca2f1dec4af242b8d53c9217e20 | |
parent | f00f188f8212fec9976394976c4fd5d4a3bc4dcf [diff] |
mac80211: return the RSSI in dBm 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>