summaryrefslogtreecommitdiff
path: root/src/nm-hal-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-hal-manager.c')
-rw-r--r--src/nm-hal-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-hal-manager.c b/src/nm-hal-manager.c
index 7c5c84fdcb..a1ccce3630 100644
--- a/src/nm-hal-manager.c
+++ b/src/nm-hal-manager.c
@@ -205,7 +205,7 @@ modem_device_creator (NMHalManager *manager, const char *udi)
}
if (serial_device && driver_name)
- device = (NMDevice *) nm_gsm_device_new (udi, serial_device + strlen ("/dev/"), driver_name);
+ device = (NMDevice *) nm_gsm_device_new (udi, serial_device + strlen ("/dev/"), NULL, driver_name);
libhal_free_string (serial_device);
libhal_free_string (driver_name);