summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/serialport/qserialportinfo_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp
index f52516f..75da235 100644
--- a/src/serialport/qserialportinfo_unix.cpp
+++ b/src/serialport/qserialportinfo_unix.cpp
@@ -704,7 +704,7 @@ QList<QSerialPortInfo> availablePortsByUdev(bool &ok)
if (parentdev) {
const QString driverName = deviceDriver(parentdev);
- if (isSerial8250Driver(driverName) && !isValidSerial8250(priv.portName))
+ if (isSerial8250Driver(driverName) && !isValidSerial8250(priv.device))
continue;
priv.description = deviceDescription(dev.data());
priv.manufacturer = deviceManufacturer(dev.data());