File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1010,13 +1010,7 @@ void thread_tasklet(arm_event_s *event)
1010
1010
thread_bootstrap_child_id_request (cur );
1011
1011
if (thread_nd_own_service_list_data_size (& cur -> thread_info -> localServerDataBase )) {
1012
1012
// publish our services to allow leader to remove old ones
1013
- if (!cur -> thread_info -> localServerDataBase .publish_active ) {
1014
- /*
1015
- * publish only when publish is not active, otherwise let resubmit timer check
1016
- * handle publish after short time period.
1017
- */
1018
- thread_border_router_publish (cur -> id );
1019
- }
1013
+ thread_border_router_publish (cur -> id );
1020
1014
}
1021
1015
thread_router_bootstrap_address_change_notify_send (cur );
1022
1016
// Validate network data after a short period
Original file line number Diff line number Diff line change @@ -887,8 +887,12 @@ int thread_border_router_publish(int8_t interface_id)
887
887
if (rloc16 != cur -> thread_info -> localServerDataBase .registered_rloc16 ) {
888
888
/*
889
889
* Device short address has changed, cancel previous a/sd and a/as requests
890
+ * and start resubmit timer
890
891
* */
892
+ tr_debug ("address changed, kill pending reuqests" );
891
893
thread_management_client_pending_coap_request_kill (cur -> id );
894
+ thread_border_router_resubmit_timer_set (interface_id , 5 );
895
+ return 0 ;
892
896
} else {
893
897
cur -> thread_info -> localServerDataBase .publish_pending = true;
894
898
tr_debug ("Activate pending status for publish" );
You can’t perform that action at this time.
0 commit comments