diff options
| author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-09-30 15:12:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 12:48:15 +0300 |
| commit | 86dc65b36cb55b81d1bd90b7483bea06375f5078 (patch) | |
| tree | bff5a815b5d32dc9f89ac87ea11f8688c1c524cb /include | |
| parent | b890d00e849384ed2529071ce4a8e51160de6055 (diff) | |
| download | linux-86dc65b36cb55b81d1bd90b7483bea06375f5078.tar.xz | |
staging: rtl8192e: rtl_wx: fix negative noise value
wstats->qual.noise is of type uint8, so it shouldn't be assigned a
negative number. Assigning it 0x100 - 100, which is the equivalent
to -100 dBm when IW_QUAL_DBM is set.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Tested-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
