mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
at86rf230: remove invalid max csma backoffs check
This patch removes the invalid check on max csma backoffs in driver layer. This is already handled by nl802154 framework. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
a01ba7652c
commit
17561bfe6f
@ -1167,9 +1167,6 @@ at86rf230_set_csma_params(struct ieee802154_hw *hw, u8 min_be, u8 max_be,
|
||||
struct at86rf230_local *lp = hw->priv;
|
||||
int rc;
|
||||
|
||||
if (retries > 5)
|
||||
return -EINVAL;
|
||||
|
||||
rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user