summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-07 14:53:00 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-07 14:53:00 -0500
commit669345d6b80ea91a19a93400798629c94055216e (patch)
tree5c18471d8ef92db6553207af12297fb5fb4f5e1d
parent5b95b86a5bbe9a4f558712b3e2173f90b7cd0dd5 (diff)
downloadtdelibs-669345d6b80ea91a19a93400798629c94055216e.tar.gz
tdelibs-669345d6b80ea91a19a93400798629c94055216e.zip
Classify memstick_host devices
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index eee2f0fbb..b0162f6fe 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2112,7 +2112,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (devicesubsystem == "tifm_adapter") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
- if (devicesubsystem == "mmc_host") {
+ if ((devicesubsystem == "mmc_host")
+ || (devicesubsystem == "memstick_host")) {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
if (devicesubsystem == "mmc") {