commit | 681cd988d3587ca2b3afa3db598a2ecab572b742 | [log] [tgz] |
---|---|---|
author | Luis de Bethencourt <luisbg@osg.samsung.com> | Sun Oct 11 14:16:57 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 12 20:43:20 2015 -0700 |
tree | 1fecbc0f256a5e327167c4d0809229bae324eba1 | |
parent | 942eaa867f321380129d8519e5279a67e8f4c04e [diff] |
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>