diff options
Diffstat (limited to 'drivers/staging/pi433')
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 4a8e633a0a1d..e8ddc924bb04 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -528,7 +528,8 @@ pi433_receive(void *data) /* need to drop bytes or acquire? */ if (dev->rx_bytes_to_drop > dev->rx_bytes_dropped) - bytes_to_read = dev->rx_bytes_to_drop - dev->rx_bytes_dropped; + bytes_to_read = dev->rx_bytes_to_drop - + dev->rx_bytes_dropped; else bytes_to_read = bytes_total - dev->rx_position; |