summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-22 14:47:59 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-22 14:47:59 -0500
commitd6816283be06ec485549a312e04c8c61fca30da4 (patch)
tree6fe805fdf94456e84cb43b8ef896ac25801808d2
parent93993ebd03bd0d322f9aacf64952ed06b6040135 (diff)
downloadtdelibs-d6816283be06ec485549a312e04c8c61fca30da4.tar.gz
tdelibs-d6816283be06ec485549a312e04c8c61fca30da4.zip
Fix incorrect clasification of hardware devices
This resolves a bug accidentally introduced in GIT hash b282a7bb
-rw-r--r--tdecore/tdehardwaredevices.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp
index 7dc2de5e..49736d64 100644
--- a/tdecore/tdehardwaredevices.cpp
+++ b/tdecore/tdehardwaredevices.cpp
@@ -4136,6 +4136,11 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
device = classifyUnknownDeviceByExternalRules(dev, device, false);
}
+ // Internal use only!
+ device->m_udevtype = devicetype;
+ device->m_udevdevicetypestring = devicetypestring;
+ device->udevdevicetypestring_alt = devicetypestring_alt;
+
updateExistingDeviceInformation(device, dev);
if (temp_udev_device) {