summaryrefslogtreecommitdiff
path: root/examples/C
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2012-11-01 15:40:27 +0100
committerJiří Klimeš <jklimes@redhat.com>2012-11-01 15:40:27 +0100
commit8a0e928aedc20b3023a708d59d861cdc3c4c0ed5 (patch)
treec4069373c8be252f1fa034e3b3b0c22a56da1faa /examples/C
parenta44d36e628c6c4d1f1d3fadb8fa45780f32a4869 (diff)
downloadNetworkManager-8a0e928aedc20b3023a708d59d861cdc3c4c0ed5.tar.gz
cli/examples: NM_802_11_MODE_AP mode is not valid for NMAccessPoint objects
Diffstat (limited to 'examples/C')
-rw-r--r--examples/C/glib/get-ap-info-libnm-glib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/C/glib/get-ap-info-libnm-glib.c b/examples/C/glib/get-ap-info-libnm-glib.c
index 67ee78d16c..e72ce54fa0 100644
--- a/examples/C/glib/get-ap-info-libnm-glib.c
+++ b/examples/C/glib/get-ap-info-libnm-glib.c
@@ -134,7 +134,6 @@ show_access_point_info (NMAccessPoint *ap)
printf ("SSID: %s\n", ssid_str);
printf ("BSSID: %s\n", hwaddr);
printf ("Mode: %s\n", mode == NM_802_11_MODE_ADHOC ? "Ad-Hoc"
- : mode == NM_802_11_MODE_AP ? "AP"
: mode == NM_802_11_MODE_INFRA ? "Infrastructure"
: "Unknown");
printf ("Freq: %s\n", freq_str);