diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-11 21:37:00 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-11 23:10:41 -0500 |
commit | a8d352d458bba4603abd996e541c7f206a101f26 (patch) | |
tree | 195130e7a4d46858eac1a6ad2d8813fc8f956946 /drivers/net/ieee802154/at86rf230.c | |
parent | 656a999e8701c1e3d17040f051d3a080ec6c710c (diff) |
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: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/at86rf230.c')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index f9e3bce8d63b..05d4f8f2fc44 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1167,7 +1167,7 @@ at86rf230_set_csma_params(struct ieee802154_hw *hw, u8 min_be, u8 max_be, | |||
1167 | struct at86rf230_local *lp = hw->priv; | 1167 | struct at86rf230_local *lp = hw->priv; |
1168 | int rc; | 1168 | int rc; |
1169 | 1169 | ||
1170 | if (min_be > max_be || max_be > 8 || retries > 5) | 1170 | if (retries > 5) |
1171 | return -EINVAL; | 1171 | return -EINVAL; |
1172 | 1172 | ||
1173 | rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be); | 1173 | rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be); |