drivers: ieee802154: b91: fix status variable type in RX ISR

The status variable stores the return value of `net_recv_data`, which
is an `int` and may be negative.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2024-12-30 12:37:56 +01:00 committed by Benjamin Cabé
parent 354a47cfcf
commit 9d3d67d3d1

View file

@ -260,7 +260,7 @@ static void b91_send_ack(uint8_t seq_num)
/* RX IRQ handler */
static void b91_rf_rx_isr(void)
{
uint8_t status;
int status;
uint8_t length;
uint8_t *payload;
struct net_pkt *pkt;