diff --git a/discovery/discovery.cpp b/discovery/discovery.cpp index 21d0aee..20d0fd2 100644 --- a/discovery/discovery.cpp +++ b/discovery/discovery.cpp @@ -99,7 +99,7 @@ void Discovery::getDeviceInfo(char *buf, qint64 len) return; } qInfo() << "GetDevTypeValue Success " << value; - if (value != KCommon::DeviceType::PC || value != KCommon::DeviceType::Phone) { + if (value != KCommon::DeviceType::PC && value != KCommon::DeviceType::Phone) { return; } m_devType = value;