summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorLuis de Bethencourt2015-09-30 14:12:11 +0200
committerGreg Kroah-Hartman2015-10-02 11:48:15 +0200
commit86dc65b36cb55b81d1bd90b7483bea06375f5078 (patch)
treebff5a815b5d32dc9f89ac87ea11f8688c1c524cb /drivers/staging/rtl8188eu
parentstaging: rtl8188eu: Add missing include (diff)
downloadkernel-qcow2-linux-86dc65b36cb55b81d1bd90b7483bea06375f5078.tar.gz
kernel-qcow2-linux-86dc65b36cb55b81d1bd90b7483bea06375f5078.tar.xz
kernel-qcow2-linux-86dc65b36cb55b81d1bd90b7483bea06375f5078.zip
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 'drivers/staging/rtl8188eu')
0 files changed, 0 insertions, 0 deletions