diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-10-11 14:42:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-12 20:40:48 -0700 |
commit | 3cd66a18138ce6439ef11dca6347c6c1e180189c (patch) | |
tree | df2b9e1947a2dc33b5fb1efda36b6cbe360a4d49 /drivers/staging/rtl8712 | |
parent | f517f3bf07f1f776f12b2413dbefa21523021ac1 (diff) | |
download | linux-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