mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 14:00:18 +01:00
cli: bugfix verification for wifi channel in edit mode
This bug caused the edit mode to refuse most of the valid wifi channels. The bug was present since the beginning, so all versions before this commit will have this issue. https://bugzilla.redhat.com/show_bug.cgi?id=999999 Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
b5b43a6d65
commit
a7588227ed
1 changed files with 1 additions and 1 deletions
|
|
@ -3230,7 +3230,7 @@ nmc_property_wifi_set_channel (NMSetting *setting, const char *prop, const char
|
|||
}
|
||||
|
||||
if ( !nm_utils_wifi_is_channel_valid (chan_int, "a")
|
||||
|| !nm_utils_wifi_is_channel_valid (chan_int, "bg")) {
|
||||
&& !nm_utils_wifi_is_channel_valid (chan_int, "bg")) {
|
||||
g_set_error (error, 1, 0, _("'%ld' is not a valid channel"), chan_int);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue