Skip to content

Commit 51bf94e

Browse files
author
Jarkko Paso
authored
Fix adaptation interface unit tests (ARMmbed#2409)
1 parent 0860b57 commit 51bf94e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/nanostack/unittest/6LoWPAN/adaptation_interface/test_adaptation_interface.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ bool test_lowpan_adaptation_interface_indirect_tx()
607607

608608
entry.mac_api = &api;
609609
api.mcps_data_req = NULL;
610+
api.phyMTU = 127;
610611
socket_stub.buffer_ptr = NULL;
611612

612613
entry.id = 0;
@@ -1316,6 +1317,7 @@ bool test_lowpan_adaptation_interface_mpx_register()
13161317

13171318
entry.id = 0;
13181319
api.mcps_data_req = &mcps_data_req_cb;
1320+
api.phyMTU = 127;
13191321

13201322
test_buf2->ip_routed_up = true;
13211323
protocol_core_stub.entry_ptr = &entry;

0 commit comments

Comments
 (0)