diff options
author | Dan Williams <dcbw@redhat.com> | 2013-10-15 16:50:05 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-10-15 16:53:05 -0500 |
commit | fe9dee6bc87badf297a371950337e74b107f1f46 (patch) | |
tree | f3b18397f3968fa1dafadb5fae6c5e10f44b294a | |
parent | 1d0a26e19de1133bb1ea8294f8f5d8472bedd859 (diff) | |
download | NetworkManager-fe9dee6bc87badf297a371950337e74b107f1f46.tar.gz |
libnm-glib: remove bogus warning
When connecting to a hidden SSID, the Access Point object that NetworkManager
creates will have no frequency, because the frequency is unknown until the
connection succeeds. The warning has no use; if the AP doesn't have a
frequency then it even match a connection with a specified frequency.
-rw-r--r-- | libnm-glib/nm-access-point.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c index ade8d6ee61..c185ab0b6c 100644 --- a/libnm-glib/nm-access-point.c +++ b/libnm-glib/nm-access-point.c @@ -354,7 +354,6 @@ nm_access_point_connection_valid (NMAccessPoint *ap, NMConnection *connection) /* Band and Channel/Frequency */ ap_freq = nm_access_point_get_frequency (ap); - g_warn_if_fail (ap_freq > 0); if (ap_freq) { setting_band = nm_setting_wireless_get_band (s_wifi); if (g_strcmp0 (setting_band, "a") == 0) { |