diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-11 21:37:02 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-11 23:10:41 -0500 |
commit | 17561bfe6fe2cde8699b6c98d9078dfa3e36911d (patch) | |
tree | 22540b3fb573b60ef9fd057cbd6ac48fd924b848 /drivers/net/ieee802154 | |
parent | a01ba7652cda5602b248efff168450ec658640b8 (diff) |
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>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 05d4f8f2fc44..aea00d36c057 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1167,9 +1167,6 @@ 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 (retries > 5) | ||
1171 | return -EINVAL; | ||
1172 | |||
1173 | rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be); | 1170 | rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be); |
1174 | if (rc) | 1171 | if (rc) |
1175 | return rc; | 1172 | return rc; |