Skip to content

Commit

Permalink
drivers: ieee802154: cc13/26xx_subg: fix subg_start() return value
Browse files Browse the repository at this point in the history
The radio API should indicate errors when the interface is started.

Signed-off-by: Florian Grandel <[email protected]>
  • Loading branch information
fg-cfh authored and pull[bot] committed Jun 27, 2023
1 parent c8c64a2 commit 091ef88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/ieee802154/ieee802154_cc13xx_cc26xx_subg.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,7 @@ static void ieee802154_cc13xx_cc26xx_subg_rx_done(
static int ieee802154_cc13xx_cc26xx_subg_start(const struct device *dev)
{
/* Start RX */
(void)ieee802154_cc13xx_cc26xx_subg_rx(dev);
return 0;
return ieee802154_cc13xx_cc26xx_subg_rx(dev);
}

/**
Expand Down

0 comments on commit 091ef88

Please sign in to comment.