Merge "Handle race condition in HAL post SSR"
This commit is contained in:
commit
f2f492bd5b
1 changed files with 1 additions and 2 deletions
|
@ -2857,9 +2857,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