mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-21 18:00:38 +01:00
Show GSM & CDMA device types
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3585 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
095da180c8
commit
cd5297d73e
1 changed files with 6 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
|||
#include <nm-device.h>
|
||||
#include <nm-device-802-3-ethernet.h>
|
||||
#include <nm-device-802-11-wireless.h>
|
||||
#include <nm-gsm-device.h>
|
||||
#include <nm-cdma-device.h>
|
||||
#include <nm-utils.h>
|
||||
|
||||
static gboolean
|
||||
|
|
@ -211,6 +213,10 @@ detail_device (gpointer data, gpointer user_data)
|
|||
print_string ("Type", "Wired");
|
||||
else if (NM_IS_DEVICE_802_11_WIRELESS (device))
|
||||
print_string ("Type", "802.11 Wireless");
|
||||
else if (NM_IS_GSM_DEVICE (device))
|
||||
print_string ("Type", "Mobile Broadband (GSM)");
|
||||
else if (NM_IS_CDMA_DEVICE (device))
|
||||
print_string ("Type", "Mobile Broadband (CDMA)");
|
||||
|
||||
print_string ("Driver", nm_device_get_driver (device) ? nm_device_get_driver (device) : "(unknown)");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue