mirror of
https://github.com/torvalds/linux.git
synced 2026-08-17 04:50:03 +02:00
at86rf230: add reset state cca handling
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>
This commit is contained in:
parent
ba2a9506a7
commit
b48a7c1880
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user