Merge "Handle race condition in HAL post SSR"

This commit is contained in:
Linux Build Service Account 2015-08-25 08:05:05 -07:00 committed by Gerrit - the friendly Code Review server
commit f2f492bd5b

View file

@ -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.
if (loc_eng_data.adapter->isInSession()) {
// This sets the copy in adapter to modem
loc_eng_data.adapter->setPositionMode(NULL);
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);
}