diff options
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index a6db76806715..a3cc7d9f28ab 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -1358,6 +1358,14 @@ static int at86rf230_hw_init(struct at86rf230_local *lp) | |||
1358 | return -EINVAL; | 1358 | return -EINVAL; |
1359 | } | 1359 | } |
1360 | 1360 | ||
1361 | /* Force setting slotted operation bit to 0. Sometimes the atben | ||
1362 | * sets this bit and I don't know why. We set this always force | ||
1363 | * to zero while probing. | ||
1364 | */ | ||
1365 | rc = at86rf230_write_subreg(lp, SR_SLOTTED_OPERATION, 0); | ||
1366 | if (rc) | ||
1367 | return rc; | ||
1368 | |||
1361 | return 0; | 1369 | return 0; |
1362 | } | 1370 | } |
1363 | 1371 | ||