Commit 2a100501 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

at86rf230: remove unnecessary assign

The attribute extra_tx_headroom should already be zero.
Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Reviewed-by: default avatarStefan Schmidt <s.schmidt@samsung.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 4fef7d3b
...@@ -1431,7 +1431,6 @@ at86rf230_detect_device(struct at86rf230_local *lp) ...@@ -1431,7 +1431,6 @@ at86rf230_detect_device(struct at86rf230_local *lp)
return -EINVAL; return -EINVAL;
} }
lp->hw->extra_tx_headroom = 0;
lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK | lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK |
IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET | IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS; IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment