@@ -351,7 +351,7 @@ static void thread_parse_advertisement(protocol_interface_info_entry_t *cur, mle
351351 if ((thread_info (cur )-> thread_leader_data -> partitionId != leaderData .partitionId ) ||
352352 (thread_info (cur )-> thread_leader_data -> weighting != leaderData .weighting )) {
353353 //parent changed partition/weight - reset own routing information
354- thread_old_partition_data_purge (cur -> thread_info );
354+ thread_old_partition_data_purge (cur );
355355 }
356356 //check if network data needs to be requested
357357 if (!thread_bootstrap_request_network_data (cur , & leaderData , shortAddress )) {
@@ -577,7 +577,7 @@ static void thread_parse_data_response(protocol_interface_info_entry_t *cur, mle
577577 if (thread_info (cur )-> thread_leader_data -> partitionId != leaderData .partitionId ) {
578578 thread_info (cur )-> thread_leader_data -> leaderRouterId = leaderData .leaderRouterId ;
579579 thread_info (cur )-> thread_leader_data -> partitionId = leaderData .partitionId ;
580- thread_old_partition_data_purge (cur -> thread_info );
580+ thread_old_partition_data_purge (cur );
581581 accept_new_data = true;
582582 }
583583
@@ -716,7 +716,7 @@ static void thread_host_child_update_request_process(protocol_interface_info_ent
716716 if (thread_info (cur )-> thread_leader_data -> partitionId != leaderData .partitionId ) {
717717 thread_info (cur )-> thread_leader_data -> leaderRouterId = leaderData .leaderRouterId ;
718718 thread_info (cur )-> thread_leader_data -> partitionId = leaderData .partitionId ;
719- thread_old_partition_data_purge (cur -> thread_info );
719+ thread_old_partition_data_purge (cur );
720720 }
721721 //Check Network Data TLV
722722 if (mle_tlv_read_tlv (MLE_TYPE_NETWORK_DATA , mle_msg -> data_ptr , mle_msg -> data_length , & networkDataTlv )) {
0 commit comments