Skip to content

Commit

Permalink
Merge pull request ARMmbed#1787 from ARMmbed/iottthd-2692
Browse files Browse the repository at this point in the history
MAC report unknow neighbour COMM status at Packet TX process not dete…
  • Loading branch information
Juha Heiskanen authored Aug 17, 2018
2 parents be0aa9c + e98c182 commit 06255ee
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/MAC/IEEE802_15_4/mac_mcps_sap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,14 +1286,8 @@ static bool mac_frame_security_parameters_init(ccm_globals_t *ccm_ptr, protocol_
if (buffer->fcf_dsn.DstAddrMode && buffer->fcf_dsn.ackRequested) {
device_description = mac_sec_mib_device_description_get(rf_ptr, buffer->DstAddr, buffer->fcf_dsn.DstAddrMode);
if (!device_description) {

if (rf_ptr->mac_security_bypass_unknow_device && (buffer->fcf_dsn.SrcAddrMode == MAC_ADDR_MODE_64_BIT
&& buffer->aux_header.securityLevel > AES_SECURITY_LEVEL_ENC)) {

} else {
buffer->status = MLME_UNAVAILABLE_KEY;
return false;
}
buffer->status = MLME_UNAVAILABLE_KEY;
return false;
}
}
nonce_ext_64_ptr = rf_ptr->mac64;
Expand Down

0 comments on commit 06255ee

Please sign in to comment.