OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01ba76
)
at86rf230: remove invalid max csma backoffs check
author
Alexander Aring
<alex.aring@gmail.com>
Wed, 12 Nov 2014 02:37:02 +0000
(
03:37
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 12 Nov 2014 04:10:41 +0000
(
05:10
+0100)
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>
drivers/net/ieee802154/at86rf230.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index
05d4f8f
..
aea00d3
100644
(file)
--- 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,
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;