cli: libnm-glib now uses enums for wired and WiFi capabilities

This commit is contained in:
Jiří Klimeš
2011-02-21 16:38:02 +01:00
parent 6982337f2f
commit 106afbae50

View File

@@ -577,7 +577,7 @@ show_device_info (gpointer data, gpointer user_data)
char *tmp; char *tmp;
const char *hwaddr = NULL; const char *hwaddr = NULL;
NMDeviceState state = NM_DEVICE_STATE_UNKNOWN; NMDeviceState state = NM_DEVICE_STATE_UNKNOWN;
guint32 caps; NMDeviceCapabilities caps;
guint32 speed; guint32 speed;
char *speed_str = NULL; char *speed_str = NULL;
const GArray *array; const GArray *array;
@@ -687,7 +687,7 @@ show_device_info (gpointer data, gpointer user_data)
/* Wireless specific information */ /* Wireless specific information */
if ((NM_IS_DEVICE_WIFI (device))) { if ((NM_IS_DEVICE_WIFI (device))) {
guint32 wcaps; NMDeviceWifiCapabilities wcaps;
NMAccessPoint *active_ap = NULL; NMAccessPoint *active_ap = NULL;
const char *active_bssid = NULL; const char *active_bssid = NULL;
const GPtrArray *aps; const GPtrArray *aps;