summaryrefslogtreecommitdiff
path: root/src/nm-hal-manager.c
diff options
context:
space:
mode:
authorTambet Ingo <tambet@gmail.com>2008-01-02 13:42:52 +0000
committerTambet Ingo <tambet@gmail.com>2008-01-02 13:42:52 +0000
commit8774cc756a74ba7e4a8bfef0be0de669215900ae (patch)
treebbf5a65385fb07dc335e83b02c85f92329bd9abb /src/nm-hal-manager.c
parent27f639df3f5525d080f3f1c3520153e676a707fe (diff)
downloadNetworkManager-8774cc756a74ba7e4a8bfef0be0de669215900ae.tar.gz
2008-01-02 Tambet Ingo <tambet@gmail.com>
* libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): * Mark the properties with G_PARAM_CONSTRUCT so that they get the default values. * src/nm-gsm-device.c: Add preliminary support for monitoring * device. It only monitors the monitoring device and prints out the output for now. Or more precicely, doesn't do absolutely anything right now since the montoring device argument is never set. * src/nm-serial-device.c (serial_debug): Implement. It's very * verbose and thus requires it's own knob to turn it on. (config_fd): Add NMSettingSerial to the arguments list. (nm_serial_device_open): Ditto. (get_reply_got_data): Ignore the terminators at the beginning of the output. (nm_serial_device_get_io_channel): Implement. * src/nm-manager.c: Add NMDBusManager to the private data of the * NMManager. Asking a new reference every time (and forgetting to release it sometimes) is a pain and it's not like NMManager could work without dbus. (nm_manager_add_device): Register the added device on dbus here. * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now * for the monitoring device. * src/nm-device.c (constructor): Don't export the device here, * instead export it when it's added to the NMManager's device list. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3203 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
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);