Skip to content

Commit 4ff02f9

Browse files
author
Juha Heiskanen
committed
Stop sending normal ACK if neighbour is Unknown.
Change-Id: If2259947559df2bf3df685ec5741f6c8ef467b11
1 parent c387fda commit 4ff02f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/6LoWPAN/ws/ws_llc_data_service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ static void ws_llc_mac_indication_cb(const mac_api_t *api, const mcps_data_ind_t
560560

561561
if (!base->ws_neighbor_info_request_cb(interface, data->SrcAddr, &neighbor_info, request_new_entry)) {
562562
if (!multicast || ws_utt.message_type == WS_FT_EAPOL) {
563-
tr_debug("Drop message no neighbor");
563+
//tr_debug("Drop message no neighbor");
564564
return;
565565
} else {
566566
//Allocate temporary entry

source/MAC/IEEE802_15_4/mac_pd_sap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ static int8_t mac_pd_sap_generate_ack(protocol_interface_rf_mac_setup_s *rf_ptr,
772772
return -1;
773773
}
774774

775-
if (rf_ptr->enhanced_ack_buffer.aux_header.securityLevel == 0 || mac_sec_mib_device_description_get(rf_ptr, rf_ptr->enhanced_ack_buffer.DstAddr, rf_ptr->enhanced_ack_buffer.fcf_dsn.DstAddrMode, rf_ptr->enhanced_ack_buffer.DstPANId)) {
775+
if (mac_sec_mib_device_description_get(rf_ptr, rf_ptr->enhanced_ack_buffer.DstAddr, rf_ptr->enhanced_ack_buffer.fcf_dsn.DstAddrMode, rf_ptr->enhanced_ack_buffer.DstPANId)) {
776776
rf_ptr->ack_tx_possible = true;
777777
} else {
778778
rf_ptr->ack_tx_possible = false;

0 commit comments

Comments
 (0)