From c31488608a331f4d16dacb923a5611c52f57f1cb Mon Sep 17 00:00:00 2001 From: Freedom Liu Date: Mon, 26 Apr 2021 15:19:37 +0800 Subject: foxconn: change modem-foxconn-t77w968 to modem-mbim-foxconn Named the object in a more generic way. --- plugins/foxconn/mm-plugin-foxconn.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/foxconn/mm-plugin-foxconn.c') diff --git a/plugins/foxconn/mm-plugin-foxconn.c b/plugins/foxconn/mm-plugin-foxconn.c index 19071c0b..b8e3017e 100644 --- a/plugins/foxconn/mm-plugin-foxconn.c +++ b/plugins/foxconn/mm-plugin-foxconn.c @@ -34,7 +34,7 @@ #endif #if defined WITH_MBIM -#include "mm-broadband-modem-foxconn-t77w968.h" +#include "mm-broadband-modem-mbim-foxconn.h" #endif G_DEFINE_TYPE (MMPluginFoxconn, mm_plugin_foxconn, MM_TYPE_PLUGIN) @@ -69,11 +69,11 @@ create_modem (MMPlugin *self, /* Specific implementation for the T77W968 */ if (product == 0xe0b4 || product == 0xe0b5) { mm_obj_dbg (self, "MBIM-powered T77W968 modem found..."); - return MM_BASE_MODEM (mm_broadband_modem_foxconn_t77w968_new (uid, - drivers, - mm_plugin_get_name (self), - vendor, - product)); + return MM_BASE_MODEM (mm_broadband_modem_mbim_foxconn_new (uid, + drivers, + mm_plugin_get_name (self), + vendor, + product)); } mm_obj_dbg (self, "MBIM-powered Foxconn-branded modem found..."); -- cgit v1.2.3-70-g09d2