fibocom: Subclass broadband modem

This is required in order to be able to use a custom bearer which in
turn is necessary for establishing ECM connections.
This commit is contained in:
Sven Schwermer
2022-01-11 09:31:32 +00:00
committed by Aleksander Morgado
parent 07d7f596d3
commit 6ad17fb22e
5 changed files with 121 additions and 6 deletions
+6 -5
View File
@@ -23,6 +23,7 @@
#include "mm-plugin-fibocom.h"
#include "mm-broadband-modem.h"
#include "mm-broadband-modem-xmm.h"
#include "mm-broadband-modem-fibocom.h"
#if defined WITH_MBIM
#include "mm-broadband-modem-mbim.h"
@@ -89,11 +90,11 @@ create_modem (MMPlugin *self,
}
mm_obj_dbg (self, "Fibocom modem found...");
return MM_BASE_MODEM (mm_broadband_modem_new (uid,
drivers,
mm_plugin_get_name (self),
vendor,
product));
return MM_BASE_MODEM (mm_broadband_modem_fibocom_new (uid,
drivers,
mm_plugin_get_name (self),
vendor,
product));
}
/*****************************************************************************/