linux-sg2042/drivers/staging/vt6656
Malcolm Priestley 93134df520 staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
bb_pre_ed_rssi is an u8 rx_dm always returns negative signed
values add minus operator to always yield positive.

fixes issue where rx sensitivity is always set to maximum because
the unsigned numbers were always greater then 100.

Fixes: 63b9907f58 ("staging: vt6656: mac80211 conversion: create rx function.")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/aceac98c-6e69-3ce1-dfec-2bf27b980221@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-10 08:49:10 -08:00
..
Kconfig staging: vt665*: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
baseband.c Merge 5.5-rc6 into staging-next 2020-01-13 07:52:17 +01:00
baseband.h staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
card.c staging: vt6656: remove bool from vnt_radio_power_on ret 2020-01-03 11:46:58 +01:00
card.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
channel.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
desc.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
device.h staging: vt6656: Use vnt_rx_tail struct for tail variables. 2020-01-22 09:52:38 +01:00
dpc.c staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi. 2020-02-10 08:49:10 -08:00
dpc.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
firmware.c staging: vt6656: Remove memory buffer from vnt_download_firmware. 2020-01-22 09:52:39 +01:00
firmware.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
int.c staging: vt6656: Fix false Tx excessive retries reporting. 2020-01-10 13:49:19 +01:00
int.h staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
key.c staging: vt6656: key: Mark expected switch fall-throughs 2019-02-19 11:14:14 +01:00
key.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
mac.c staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
mac.h staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
main_usb.c Merge 5.5-rc6 into staging-next 2020-01-13 07:52:17 +01:00
power.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
power.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
rf.c staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
rf.h staging: vt6656: avoid discarding called function's return code 2019-05-21 08:25:03 +02:00
rxtx.c staging: vt6656: use NULLFUCTION stack on mac80211 2020-01-10 13:49:19 +01:00
rxtx.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00
usbpipe.c staging: vt6656: Remove memory buffer from vnt_download_firmware. 2020-01-22 09:52:39 +01:00
usbpipe.h staging: vt6656: Remove memory buffer from vnt_download_firmware. 2020-01-22 09:52:39 +01:00
wcmd.c staging: vt6656: set usb_set_intfdata on driver fail. 2020-01-03 11:46:59 +01:00
wcmd.h staging: vt6656: Fix styling of the comment related to SPDX-License-Identifier 2019-04-02 09:29:27 +02:00