Skip to content

Commit 72bb71f

Browse files
author
Jarkko Paso
committed
Fixed missing params after merging master to koli
1 parent d119df9 commit 72bb71f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/6LoWPAN/adaptation_interface.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ static bool lowpan_adaptation_indirect_cache_sanity_check(protocol_interface_inf
677677
// entry is in cache and is not sent to mac => trigger this
678678
tr_debug_extra("sanity check, push seq %d to addr %s", fragmenter_tx_entry->buf->seq, trace_ipv6(fragmenter_tx_entry->buf->dst_sa.address));
679679
fragmenter_tx_entry->indirect_data_cached = false;
680-
lowpan_data_request_to_mac(cur, fragmenter_tx_entry->buf, fragmenter_tx_entry);
680+
lowpan_data_request_to_mac(cur, fragmenter_tx_entry->buf, fragmenter_tx_entry, interface_ptr);
681681
return true;
682682
}
683683
}
@@ -699,7 +699,7 @@ static bool lowpan_adaptation_indirect_cache_trigger(protocol_interface_info_ent
699699
if (addr_ipv6_equal(tx_ptr->buf->dst_sa.address, fragmenter_tx_entry->buf->dst_sa.address)) {
700700
tr_debug_extra("pushing seq %d to addr %s", fragmenter_tx_entry->buf->seq, trace_ipv6(fragmenter_tx_entry->buf->dst_sa.address));
701701
fragmenter_tx_entry->indirect_data_cached = false;
702-
lowpan_data_request_to_mac(cur, fragmenter_tx_entry->buf, fragmenter_tx_entry);
702+
lowpan_data_request_to_mac(cur, fragmenter_tx_entry->buf, fragmenter_tx_entry, interface_ptr);
703703
return true;
704704
}
705705
}

source/6LoWPAN/ws/ws_bootstrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ mac_neighbor_table_entry_t * ws_bootstrap_add_neighbor(struct protocol_interface
8585
mlme_device_descriptor_t device_desc;
8686
tr_debug("Added new neighbor %s : index:%u", trace_array(src64, 8), neighbor->index);
8787
mac_helper_device_description_write(interface, &device_desc, neighbor->mac64, neighbor->mac16,0, false);
88-
mac_helper_devicetable_set(&device_desc, interface,neighbor->index, interface->mac_parameters->mac_default_key_index);
88+
mac_helper_devicetable_set(&device_desc, interface,neighbor->index, interface->mac_parameters->mac_default_key_index, true);
8989
}
9090
}
9191

0 commit comments

Comments
 (0)