Skip to content

subsys: fix TC rejoin counter reset after failure#84

Merged
edmont merged 1 commit into
nrfconnect:mainfrom
edmont:pr/rejoin-fix
Feb 20, 2026
Merged

subsys: fix TC rejoin counter reset after failure#84
edmont merged 1 commit into
nrfconnect:mainfrom
edmont:pr/rejoin-fix

Conversation

@edmont
Copy link
Copy Markdown
Collaborator

@edmont edmont commented Feb 20, 2026

After a failed TC rejoin, the code was calling start_network_rejoin() which reset the attempt counter to 0. This caused the next attempt to be scheduled at 1s, falling below the 120s TC rejoin threshold, and incorrectly switching back to network steering instead of continuing with TC rejoin.

Fix by only clearing is_rejoin_in_progress flag, preserving the counter so subsequent attempts continue using TC rejoin.

KRKNWK-21404

After a failed TC rejoin, the code was calling start_network_rejoin()
which reset the attempt counter to 0. This caused the next attempt to
be scheduled at 1s, falling below the 120s TC rejoin threshold, and
incorrectly switching back to network steering instead of continuing
with TC rejoin.

Fix by only clearing is_rejoin_in_progress flag, preserving the
counter so subsequent attempts continue using TC rejoin.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
@edmont edmont requested a review from a team as a code owner February 20, 2026 09:36
@edmont edmont merged commit 20c332d into nrfconnect:main Feb 20, 2026
3 checks passed
@edmont edmont deleted the pr/rejoin-fix branch February 20, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants