This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
test/nanostack/unittest/6lp_mac/mac_helper Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -642,6 +642,7 @@ bool test_mac_helper_mac_channel_set()
642
642
protocol_interface_info_entry_t entry ;
643
643
memset (& entry , 0 , sizeof (protocol_interface_info_entry_t ));
644
644
arm_15_4_mac_parameters_t params ;
645
+ memset (& params , 0 , sizeof (arm_15_4_mac_parameters_t ));
645
646
entry .mac_parameters = & params ;
646
647
mac_api_t api ;
647
648
api .mlme_req = & mlme_req ;
@@ -659,6 +660,7 @@ bool test_mac_helper_write_our_addr()
659
660
protocol_interface_info_entry_t entry ;
660
661
memset (& entry , 0 , sizeof (protocol_interface_info_entry_t ));
661
662
arm_15_4_mac_parameters_t params ;
663
+ memset (& params , 0 , sizeof (arm_15_4_mac_parameters_t ));
662
664
entry .mac_parameters = & params ;
663
665
sockaddr_t addr ;
664
666
addr .addr_type = ADDR_NONE ;
@@ -766,6 +768,7 @@ bool test_mac_helper_frame_overhead()
766
768
767
769
bool test_mac_helper_link_frame_counter_read ()
768
770
{
771
+ protocol_core_stub .entry_ptr = NULL ;
769
772
if ( -1 != mac_helper_link_frame_counter_read (0 , NULL ) ){
770
773
return false;
771
774
}
You can’t perform that action at this time.
0 commit comments