projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2a950
)
at86rf230: add reset state cca handling
author
Alexander Aring
<alex.aring@gmail.com>
Wed, 10 Dec 2014 14:33:14 +0000
(15:33 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 18 Dec 2014 23:19:24 +0000
(
00:19
+0100)
This patch adds the default cca setting after device reset for at86rf230
driver.
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 1ac46ba41fd8a85c09a7094f9fbd704e73f8a286..0626e7d09a7291eee53881c6c352630d700eb158 100644
(file)
--- a/
drivers/net/ieee802154/at86rf230.c
+++ b/
drivers/net/ieee802154/at86rf230.c
@@
-1441,6
+1441,8
@@
at86rf230_detect_device(struct at86rf230_local *lp)
IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;
+ lp->hw->phy->cca.mode = NL802154_CCA_ENERGY;
+
switch (part) {
case 2:
chip = "at86rf230";