Skip to content

Commit 9d3d67d

Browse files
martinjaegerkartben
authored andcommitted
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 <[email protected]>
1 parent 354a47c commit 9d3d67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ieee802154/ieee802154_b91.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ static void b91_send_ack(uint8_t seq_num)
260260
/* RX IRQ handler */
261261
static void b91_rf_rx_isr(void)
262262
{
263-
uint8_t status;
263+
int status;
264264
uint8_t length;
265265
uint8_t *payload;
266266
struct net_pkt *pkt;

0 commit comments

Comments
 (0)