summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-11 14:42:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 20:40:48 -0700
commit3cd66a18138ce6439ef11dca6347c6c1e180189c (patch)
treedf2b9e1947a2dc33b5fb1efda36b6cbe360a4d49 /drivers/staging/rtl8712
parentf517f3bf07f1f776f12b2413dbefa21523021ac1 (diff)
downloadlinux-3cd66a18138ce6439ef11dca6347c6c1e180189c.tar.bz2
staging: rtl8192u: r8192U_wx: fix negative noise and level values
range->max_qual.noise and level are of type uint8, so they shouldn't be assigned a negative number. Assigning them 0x100 - 98, and 0x100 - 78 which are the equivalent to -98 dBm and -78 dBm, respectively, 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/staging/rtl8712')
0 files changed, 0 insertions, 0 deletions