mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 06:38:11 +02:00
Set driver name to <unknown> when the driver is unknown
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1863 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
642a1a181d
commit
09c39bede0
1 changed files with 2 additions and 0 deletions
|
|
@ -423,6 +423,8 @@ void nm_print_device_capabilities (NMDevice *dev)
|
||||||
|
|
||||||
caps = nm_device_get_capabilities (dev);
|
caps = nm_device_get_capabilities (dev);
|
||||||
driver = nm_device_get_driver (dev);
|
driver = nm_device_get_driver (dev);
|
||||||
|
if (!driver)
|
||||||
|
driver = "<unknown>";
|
||||||
|
|
||||||
if (caps == NM_DEVICE_CAP_NONE || !(NM_DEVICE_CAP_NM_SUPPORTED))
|
if (caps == NM_DEVICE_CAP_NONE || !(NM_DEVICE_CAP_NM_SUPPORTED))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue