aboutsummaryrefslogtreecommitdiff
path: root/plugins/quectel/mm-plugin-quectel.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-12-09 15:54:38 +0100
committerDan Williams <dcbw@redhat.com>2019-01-03 18:53:52 +0000
commitfc02b1320c91367be8f1b9d073fc0da473538647 (patch)
treeada8d2f63476a39c7bd83c82e07bff9c7922dfda /plugins/quectel/mm-plugin-quectel.c
parent4b21546f532991dceddab8e573ae6fbb87b28576 (diff)
quectel: report fastboot-based firmware update method and settings
We'll check for AT+QFASTBOOT support during runtime.
Diffstat (limited to 'plugins/quectel/mm-plugin-quectel.c')
-rw-r--r--plugins/quectel/mm-plugin-quectel.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/quectel/mm-plugin-quectel.c b/plugins/quectel/mm-plugin-quectel.c
index 38b02ed1..85d9314b 100644
--- a/plugins/quectel/mm-plugin-quectel.c
+++ b/plugins/quectel/mm-plugin-quectel.c
@@ -10,7 +10,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details:
*
- * Copyright (C) 2017 Aleksander Morgado <aleksander@aleksander.es>
+ * Copyright (C) 2017-2018 Aleksander Morgado <aleksander@aleksander.es>
*/
#include <stdlib.h>
@@ -21,10 +21,10 @@
#include "mm-log.h"
#include "mm-plugin-quectel.h"
-#include "mm-broadband-modem.h"
+#include "mm-broadband-modem-quectel.h"
#if defined WITH_QMI
-#include "mm-broadband-modem-qmi.h"
+#include "mm-broadband-modem-qmi-quectel.h"
#endif
G_DEFINE_TYPE (MMPluginQuectel, mm_plugin_quectel, MM_TYPE_PLUGIN)
@@ -46,19 +46,19 @@ create_modem (MMPlugin *self,
#if defined WITH_QMI
if (mm_port_probe_list_has_qmi_port (probes)) {
mm_dbg ("QMI-powered Quectel modem found...");
- return MM_BASE_MODEM (mm_broadband_modem_qmi_new (uid,
+ return MM_BASE_MODEM (mm_broadband_modem_qmi_quectel_new (uid,
+ drivers,
+ mm_plugin_get_name (self),
+ vendor,
+ product));
+ }
+#endif
+
+ return MM_BASE_MODEM (mm_broadband_modem_quectel_new (uid,
drivers,
mm_plugin_get_name (self),
vendor,
product));
- }
-#endif
-
- return MM_BASE_MODEM (mm_broadband_modem_new (uid,
- drivers,
- mm_plugin_get_name (self),
- vendor,
- product));
}
/*****************************************************************************/