2008-08-18 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h introspection/nm-device.xml - Add a "missing firmware" device state reason * src/NetworkManagerSystem.c src/NetworkManagerSystem.h - (nm_system_device_set_up_down): add a no_firmware argument - (nm_system_device_set_up_down_with_iface): if the result of setting IFF_UP is ENOENT, that almost always means missing firmware * src/backends/NetworkManagerGeneric.c src/nm-device-ethernet.c src/nm-device-private.h src/nm-device-wifi.c src/nm-device.c src/nm-device.h src/nm-hso-gsm-device.c src/vpn-manager/nm-vpn-connection.c - Pass no_firmware along; check it where appropriate git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3983 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -56,8 +56,12 @@ gboolean nm_system_vpn_device_unset_from_ip4_config (NMDevice *active_device,
|
||||
const char *iface,
|
||||
NMIP4Config *config);
|
||||
|
||||
gboolean nm_system_device_set_up_down (NMDevice *dev, gboolean up);
|
||||
gboolean nm_system_device_set_up_down_with_iface (const char *iface, gboolean up);
|
||||
gboolean nm_system_device_set_up_down (NMDevice *dev,
|
||||
gboolean up,
|
||||
gboolean *no_firmware);
|
||||
gboolean nm_system_device_set_up_down_with_iface (const char *iface,
|
||||
gboolean up,
|
||||
gboolean *no_firmware);
|
||||
|
||||
gboolean nm_system_device_is_up (NMDevice *device);
|
||||
gboolean nm_system_device_is_up_with_iface (const char *iface);
|
||||
|
Reference in New Issue
Block a user