Fix network manager interface not returning active connections

Add unclassified TI FlashMedia device
pull/16/head
Timothy Pearson 12 years ago
parent d6816283be
commit 47c56ecaf4

@ -1909,7 +1909,7 @@ TDENetworkDeviceInformation TDENetworkConnectionManager_BackendNM::deviceInforma
DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath); DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath);
activeConnection.setConnection(TQT_DBusConnection::systemBus()); activeConnection.setConnection(TQT_DBusConnection::systemBus());
ret.activeConnectionUUID = activeConnection.getUuid(error); ret.activeConnectionUUID = activeConnection.getUuid(error);
if (!error.isValid()) { if (error.isValid()) {
ret.activeConnectionUUID = TQString::null; ret.activeConnectionUUID = TQString::null;
} }
} }
@ -1934,7 +1934,7 @@ TDENetworkDeviceInformation TDENetworkConnectionManager_BackendNM::deviceStatus(
DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath); DBus::ActiveConnectionProxy activeConnection(NM_DBUS_SERVICE, connectionPath);
activeConnection.setConnection(TQT_DBusConnection::systemBus()); activeConnection.setConnection(TQT_DBusConnection::systemBus());
ret.activeConnectionUUID = activeConnection.getUuid(error); ret.activeConnectionUUID = activeConnection.getUuid(error);
if (!error.isValid()) { if (error.isValid()) {
ret.activeConnectionUUID = TQString::null; ret.activeConnectionUUID = TQString::null;
} }
} }

@ -3907,6 +3907,9 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform); if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::Platform);
} }
} }
if (devicesubsystem == "tifm_adapter") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
}
if (devicesubsystem == "mmc_host") { if (devicesubsystem == "mmc_host") {
if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController); if (!device) device = new TDEGenericDevice(TDEGenericDeviceType::StorageController);
} }

Loading…
Cancel
Save