diff --git a/gps/core/LocApiBase.cpp b/gps/core/LocApiBase.cpp index 1278155..0550764 100644 --- a/gps/core/LocApiBase.cpp +++ b/gps/core/LocApiBase.cpp @@ -162,7 +162,7 @@ void LocApiBase::addAdapter(LocAdapterBase* adapter) if (mLocAdapters[i] == NULL) { mLocAdapters[i] = adapter; mMsgTask->sendMsg(new LocOpenMsg(this, - (adapter->getEvtMask()))); + mMask | adapter->getEvtMask())); break; } }