mirror of
https://github.com/espressif/openthread.git
synced 2026-08-21 01:49:52 +00:00
Send commissioner set after petitioning (#1486)
If AddJoiner (or other joiner list methods) are called before the commissioner manages to finish the petitioning, then network steering data is not properly updated and joiners don't join the network.
This commit is contained in:
@@ -633,6 +633,8 @@ void Commissioner::HandleLeaderPetitionResponse(Coap::Header *aHeader, Message *
|
||||
mTransmitAttempts = 0;
|
||||
mTimer.Start(Timer::SecToMsec(kKeepAliveTimeout) / 2);
|
||||
|
||||
SendCommissionerSet();
|
||||
|
||||
exit:
|
||||
|
||||
if (retransmit)
|
||||
|
||||
Reference in New Issue
Block a user