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:
parent
354a47cfcf
commit
9d3d67d3d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue