Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8d352d4 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

at86rf230: remove invalid backoff exponent check



This patch removes the invalid backoff exponent check from driver layer.
This is already handled by nl802154.

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 656a999e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1167,7 +1167,7 @@ at86rf230_set_csma_params(struct ieee802154_hw *hw, u8 min_be, u8 max_be,
	struct at86rf230_local *lp = hw->priv;
	int rc;

	if (min_be > max_be || max_be > 8 || retries > 5)
	if (retries > 5)
		return -EINVAL;

	rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be);