Skip to content

Commit

Permalink
Fix adaptation interface unit tests (ARMmbed#2409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso authored Aug 13, 2020
1 parent 0860b57 commit 51bf94e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ bool test_lowpan_adaptation_interface_indirect_tx()

entry.mac_api = &api;
api.mcps_data_req = NULL;
api.phyMTU = 127;
socket_stub.buffer_ptr = NULL;

entry.id = 0;
Expand Down Expand Up @@ -1316,6 +1317,7 @@ bool test_lowpan_adaptation_interface_mpx_register()

entry.id = 0;
api.mcps_data_req = &mcps_data_req_cb;
api.phyMTU = 127;

test_buf2->ip_routed_up = true;
protocol_core_stub.entry_ptr = &entry;
Expand Down

0 comments on commit 51bf94e

Please sign in to comment.