Update NM patch.

This commit is contained in:
Tambet Ingo
2008-10-20 17:13:18 +03:00
parent 4d27cef5ed
commit 2b76d68854
2 changed files with 4 additions and 2 deletions

View File

@@ -506,10 +506,10 @@ index 0000000..5dc3c14
+#endif /* NM_CDMA_MODEM_H */ +#endif /* NM_CDMA_MODEM_H */
diff --git a/src/modem-manager/nm-gsm-modem-hso.c b/src/modem-manager/nm-gsm-modem-hso.c diff --git a/src/modem-manager/nm-gsm-modem-hso.c b/src/modem-manager/nm-gsm-modem-hso.c
new file mode 100644 new file mode 100644
index 0000000..b1a22f1 index 0000000..2c28752
--- /dev/null --- /dev/null
+++ b/src/modem-manager/nm-gsm-modem-hso.c +++ b/src/modem-manager/nm-gsm-modem-hso.c
@@ -0,0 +1,341 @@ @@ -0,0 +1,342 @@
+/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */ +/* -*- Mode: C; tab-width: 5; indent-tabs-mode: t; c-basic-offset: 5 -*- */
+ +
+#include "nm-gsm-modem-hso.h" +#include "nm-gsm-modem-hso.h"
@@ -577,6 +577,7 @@ index 0000000..b1a22f1
+ NM_DEVICE_INTERFACE_IFACE, data_device, + NM_DEVICE_INTERFACE_IFACE, data_device,
+ NM_DEVICE_INTERFACE_DRIVER, driver, + NM_DEVICE_INTERFACE_DRIVER, driver,
+ NM_DEVICE_INTERFACE_MANAGED, TRUE, + NM_DEVICE_INTERFACE_MANAGED, TRUE,
+ NM_MODEM_DEVICE_PATH, path,
+ NULL); + NULL);
+ +
+ if (device) { + if (device) {

View File

@@ -7,6 +7,7 @@
#include "mm-modem-cdma.h" #include "mm-modem-cdma.h"
#include "mm-errors.h" #include "mm-errors.h"
#include "mm-callback-info.h" #include "mm-callback-info.h"
#include "mm-serial-parsers.h"
static gpointer mm_generic_cdma_parent_class = NULL; static gpointer mm_generic_cdma_parent_class = NULL;