aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/at86rf230.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index aea00d36c057..31d62f9c6ce8 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -1184,9 +1184,6 @@ at86rf230_set_frame_retries(struct ieee802154_hw *hw, s8 retries)
1184 struct at86rf230_local *lp = hw->priv; 1184 struct at86rf230_local *lp = hw->priv;
1185 int rc = 0; 1185 int rc = 0;
1186 1186
1187 if (retries < -1 || retries > 15)
1188 return -EINVAL;
1189
1190 lp->tx_aret = retries >= 0; 1187 lp->tx_aret = retries >= 0;
1191 lp->max_frame_retries = retries; 1188 lp->max_frame_retries = retries;
1192 1189