Handle race condition in HAL post SSR
Post SSR, ensure necessary config injection is done before restarting an existing tracking session Change-Id: I1bec8ff1cab3a9762e73a13958fe91c62f40fb92 CRs-fixed: 888187
This commit is contained in:
parent
d0faf18e26
commit
a50aaae62e
1 changed files with 1 additions and 2 deletions
|
@ -2861,9 +2861,8 @@ void loc_eng_handle_engine_up(loc_eng_data_s_type &loc_eng_data)
|
||||||
// modem is back up. If we crashed in the middle of navigating, we restart.
|
// modem is back up. If we crashed in the middle of navigating, we restart.
|
||||||
if (loc_eng_data.adapter->isInSession()) {
|
if (loc_eng_data.adapter->isInSession()) {
|
||||||
// This sets the copy in adapter to modem
|
// This sets the copy in adapter to modem
|
||||||
loc_eng_data.adapter->setPositionMode(NULL);
|
|
||||||
loc_eng_data.adapter->setInSession(false);
|
loc_eng_data.adapter->setInSession(false);
|
||||||
loc_eng_start_handler(loc_eng_data);
|
loc_eng_data.adapter->sendMsg(new LocEngStartFix(loc_eng_data.adapter));
|
||||||
}
|
}
|
||||||
EXIT_LOG(%s, VOID_RET);
|
EXIT_LOG(%s, VOID_RET);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue