novatel: fix creation of the `MMBroadbandModemNovatel' object

This commit is contained in:
Aleksander Morgado
2012-08-24 13:09:17 +02:00
parent 985f510041
commit a595912d2d

View File

@@ -26,7 +26,7 @@
#include "mm-plugin-novatel.h" #include "mm-plugin-novatel.h"
#include "mm-private-boxed-types.h" #include "mm-private-boxed-types.h"
#include "mm-broadband-modem.h" #include "mm-broadband-modem-novatel.h"
#include "mm-log.h" #include "mm-log.h"
G_DEFINE_TYPE (MMPluginNovatel, mm_plugin_novatel, MM_TYPE_PLUGIN) G_DEFINE_TYPE (MMPluginNovatel, mm_plugin_novatel, MM_TYPE_PLUGIN)
@@ -43,7 +43,7 @@ create_modem (MMPlugin *self,
GList *probes, GList *probes,
GError **error) GError **error)
{ {
return MM_BASE_MODEM (mm_broadband_modem_new (sysfs_path, return MM_BASE_MODEM (mm_broadband_modem_novatel_new (sysfs_path,
driver, driver,
mm_plugin_get_name (self), mm_plugin_get_name (self),
vendor, vendor,