Correct RSSI calculation.
Noticed by: Hans Petter Selasky <hselasky@c2i.net> Approved by: re (kensmith), sam (mentor)
This commit is contained in:
parent
ac3a6d9cef
commit
733ab6b6c8
@ -76,7 +76,7 @@ SYSCTL_INT(_hw_usb_ural, OID_AUTO, debug, CTLFLAG_RW, &uraldebug, 0,
|
||||
|
||||
#define URAL_RSSI(rssi) \
|
||||
((rssi) > (RAL_NOISE_FLOOR + RAL_RSSI_CORR) ? \
|
||||
((rssi) - RAL_NOISE_FLOOR + RAL_RSSI_CORR) : 0)
|
||||
((rssi) - (RAL_NOISE_FLOOR + RAL_RSSI_CORR)) : 0)
|
||||
|
||||
/* various supported device vendors/products */
|
||||
static const struct usb_devno ural_devs[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user