Add the device path to mbm modem creator in NM patch.
This commit is contained in:
@@ -900,10 +900,10 @@ index 0000000..9b16b0b
|
||||
+#endif /* NM_GSM_MODEM_HSO_H */
|
||||
diff --git a/src/modem-manager/nm-gsm-modem-mbm.c b/src/modem-manager/nm-gsm-modem-mbm.c
|
||||
new file mode 100644
|
||||
index 0000000..efa8d4f
|
||||
index 0000000..37ca844
|
||||
--- /dev/null
|
||||
+++ b/src/modem-manager/nm-gsm-modem-mbm.c
|
||||
@@ -0,0 +1,260 @@
|
||||
@@ -0,0 +1,261 @@
|
||||
+/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
|
||||
+/*
|
||||
+ Additions to NetworkManager, network-manager-applet and modemmanager
|
||||
@@ -993,6 +993,7 @@ index 0000000..efa8d4f
|
||||
+ NM_DEVICE_INTERFACE_IFACE, data_device,
|
||||
+ NM_DEVICE_INTERFACE_DRIVER, driver,
|
||||
+ NM_DEVICE_INTERFACE_MANAGED, TRUE,
|
||||
+ NM_MODEM_DEVICE_PATH, path,
|
||||
+ NULL);
|
||||
+
|
||||
+ if (device) {
|
||||
|
Reference in New Issue
Block a user