diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-10-11 14:16:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-12 20:43:20 -0700 |
commit | 681cd988d3587ca2b3afa3db598a2ecab572b742 (patch) | |
tree | 1fecbc0f256a5e327167c4d0809229bae324eba1 /samples/kdb | |
parent | 942eaa867f321380129d8519e5279a67e8f4c04e (diff) | |
download | op-kernel-dev-681cd988d3587ca2b3afa3db598a2ecab572b742.zip op-kernel-dev-681cd988d3587ca2b3afa3db598a2ecab572b742.tar.gz |
staging: rtl8712: fix negative level value
range->avg_qual.level is of type uint8, so it shouldn't be assigned a
negative number. Assigning it 0x100 - 78, which is the equivalent
to (20 + -98) dBm when IW_QUAL_DBM is set.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions