Skip to content

Commit 593e6c8

Browse files
maciejbaczmanskirlubos
authored andcommitted
Revert "[nrf noup] drivers: ieee802154: temporary fix for ACK header IE config"
This reverts commit 1da00e0 Signed-off-by: Maciej Baczmanski <[email protected]>
1 parent f923004 commit 593e6c8

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/ieee802154/ieee802154_nrf5.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -900,19 +900,6 @@ static int nrf5_configure(const struct device *dev,
900900
uint8_t short_addr_le[SHORT_ADDRESS_SIZE];
901901
uint8_t element_id;
902902

903-
if (config->ack_ie.ext_addr == NULL &&
904-
config->ack_ie.header_ie == NULL &&
905-
config->ack_ie.short_addr == IEEE802154_NO_SHORT_ADDRESS_ASSIGNED) {
906-
/* Hotfix for case when `EnableCsl()` has been called with arguments:
907-
* - `aCslPeriod` == 0
908-
* - `aShortAddr` == IEEE802154_NO_SHORT_ADDRESS_ASSIGNED
909-
* - `aExtAddr` == NULL
910-
* In this case skip configuring ACK header IE until proper resetting of
911-
* configuration is implemented.
912-
*/
913-
break;
914-
}
915-
916903
if (config->ack_ie.short_addr == IEEE802154_BROADCAST_ADDRESS ||
917904
config->ack_ie.ext_addr == NULL) {
918905
return -ENOTSUP;

0 commit comments

Comments
 (0)