diff options
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 2f66b8a81acd..59209f35ec6b 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -714,10 +714,7 @@ at86rf230_tx_complete(void *context) | |||
714 | 714 | ||
715 | enable_irq(lp->spi->irq); | 715 | enable_irq(lp->spi->irq); |
716 | 716 | ||
717 | if (lp->max_frame_retries <= 0) | 717 | ieee802154_xmit_complete(lp->hw, skb, !lp->tx_aret); |
718 | ieee802154_xmit_complete(lp->hw, skb, true); | ||
719 | else | ||
720 | ieee802154_xmit_complete(lp->hw, skb, false); | ||
721 | } | 718 | } |
722 | 719 | ||
723 | static void | 720 | static void |