foxconn: change modem-foxconn-t77w968 to modem-mbim-foxconn

Named the object in a more generic way.
This commit is contained in:
Freedom Liu
2021-04-29 00:58:35 +00:00
parent 7b7bbdd999
commit c31488608a
8 changed files with 91 additions and 91 deletions
+6 -6
View File
@@ -45,7 +45,7 @@
#if defined WITH_MBIM
#include "mm-broadband-modem-mbim.h"
#include "mm-broadband-modem-mbim-xmm.h"
#include "mm-broadband-modem-foxconn-t77w968.h"
#include "mm-broadband-modem-mbim-foxconn.h"
#endif
#define MAX_PORT_PROBE_TIMEOUTS 3
@@ -396,11 +396,11 @@ create_modem (MMPlugin *self,
/* Specific implementation for the DW5821e */
if (vendor == 0x413c && (product == 0x81d7 || product == 0x81e0)) {
mm_obj_dbg (self, "MBIM-powered DW5821e (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));
}
if (mm_port_probe_list_is_xmm (probes)) {