diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-07-20 22:15:40 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-09-04 01:26:28 +0200 |
commit | 8a612de92bf554205a5c19b645fc748b0441b1a4 (patch) | |
tree | 7c54b7218eaff78cdcddb73f080783ffa214d960 /src/gb | |
parent | b0874cdf9721d8fdb434af63e00f8f702133f6ee (diff) |
gprs_ns2: improve reselection protection
Change-Id: I375a7639fb8e0f92fd67bb4176bd6219978aa428
Diffstat (limited to 'src/gb')
-rw-r--r-- | src/gb/gprs_ns2_sns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_sns.c b/src/gb/gprs_ns2_sns.c index 7a3729bd..22ca7b2a 100644 --- a/src/gb/gprs_ns2_sns.c +++ b/src/gb/gprs_ns2_sns.c @@ -2227,6 +2227,7 @@ static void ns2_sns_st_all_action_bss(struct osmo_fsm_inst *fi, uint32_t event, gss->initial = NULL; ns2_prim_status_ind(gss->nse, NULL, 0, GPRS_NS2_AFF_CAUSE_SNS_NO_ENDPOINTS); osmo_fsm_inst_state_chg(fi, GPRS_SNS_ST_UNCONFIGURED, 0, 3); + gss->reselection_running = false; return; } else if (!gss->initial) { gss->initial = llist_first_entry(&gss->sns_endpoints, struct sns_endpoint, list); |