fixed a copy paste error

should NULL check set_system_info_cb instead.

Change-Id: If3a4f4bdb3025d92c1fcd2af320fd370d51301aa
This commit is contained in:
Kevin Tang 2016-04-16 23:41:45 -07:00
parent c3a4fba9b8
commit f97a97d0d1

View file

@ -1384,7 +1384,7 @@ struct LocEngSetSystemInfo : public LocMsg {
locallog();
}
inline virtual void proc() const {
if (NULL != mLocEng->set_capabilities_cb) {
if (NULL != mLocEng->set_system_info_cb) {
LOC_LOGV("calling set_system_info_cb 0x%x",
mLocEng->adapter->mGnssInfo.year_of_hw);
mLocEng->set_system_info_cb(&(mLocEng->adapter->mGnssInfo));