summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-11 14:16:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 20:43:20 -0700
commit681cd988d3587ca2b3afa3db598a2ecab572b742 (patch)
tree1fecbc0f256a5e327167c4d0809229bae324eba1 /drivers/pnp
parent942eaa867f321380129d8519e5279a67e8f4c04e (diff)
downloadlinux-681cd988d3587ca2b3afa3db598a2ecab572b742.tar.bz2
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 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions