aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-mbim.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-11-06 12:01:53 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-11-09 18:41:57 +0100
commitf052e914c84ef3a60d0cb9ddce3f77006e59a586 (patch)
tree3f4fcc55a925b4a2997ab7a4ecd4d070c0097e3b /src/mm-port-mbim.c
parentc92dc21a18e6e79de2195bf6d2ec821c7f6195ef (diff)
port: rename subsystem from 'usb' to 'usbmisc'
Back in Linux < 3.6 days, the cdc-wdm ports exposed by the QMI driver were flagged as owned by the 'usb' subsystem. That changed in 3.6 when the subsystem was renamed to 'usbmisc': https://mail.gnome.org/archives/networkmanager-list/2012-June/msg00125.html So, rename the port subsystem type enumn to 'usbmisc'.
Diffstat (limited to 'src/mm-port-mbim.c')
-rw-r--r--src/mm-port-mbim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port-mbim.c b/src/mm-port-mbim.c
index 8e848e4d..72004da1 100644
--- a/src/mm-port-mbim.c
+++ b/src/mm-port-mbim.c
@@ -593,7 +593,7 @@ mm_port_mbim_new (const gchar *name)
{
return MM_PORT_MBIM (g_object_new (MM_TYPE_PORT_MBIM,
MM_PORT_DEVICE, name,
- MM_PORT_SUBSYS, MM_PORT_SUBSYS_USB,
+ MM_PORT_SUBSYS, MM_PORT_SUBSYS_USBMISC,
MM_PORT_TYPE, MM_PORT_TYPE_MBIM,
NULL));
}