Skip to content

Commit 06255ee

Browse files
author
Juha Heiskanen
authored
Merge pull request ARMmbed#1787 from ARMmbed/iottthd-2692
MAC report unknow neighbour COMM status at Packet TX process not dete…
2 parents be0aa9c + e98c182 commit 06255ee

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

source/MAC/IEEE802_15_4/mac_mcps_sap.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,14 +1286,8 @@ static bool mac_frame_security_parameters_init(ccm_globals_t *ccm_ptr, protocol_
12861286
if (buffer->fcf_dsn.DstAddrMode && buffer->fcf_dsn.ackRequested) {
12871287
device_description = mac_sec_mib_device_description_get(rf_ptr, buffer->DstAddr, buffer->fcf_dsn.DstAddrMode);
12881288
if (!device_description) {
1289-
1290-
if (rf_ptr->mac_security_bypass_unknow_device && (buffer->fcf_dsn.SrcAddrMode == MAC_ADDR_MODE_64_BIT
1291-
&& buffer->aux_header.securityLevel > AES_SECURITY_LEVEL_ENC)) {
1292-
1293-
} else {
1294-
buffer->status = MLME_UNAVAILABLE_KEY;
1295-
return false;
1296-
}
1289+
buffer->status = MLME_UNAVAILABLE_KEY;
1290+
return false;
12971291
}
12981292
}
12991293
nonce_ext_64_ptr = rf_ptr->mac64;

0 commit comments

Comments
 (0)