mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 13:50:13 +01:00
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.
This commit is contained in:
parent
1d0a26e19d
commit
fe9dee6bc8
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue