diff options
author | Jiří Klimeš <blueowl@centrum.cz> | 2017-11-02 13:33:52 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-11-06 12:46:29 +0100 |
commit | e552c19962e70c7133b16b2581516720dd7d43b5 (patch) | |
tree | 641d55f614ff322fc4a93d990b71246387ed4b73 | |
parent | 295b1c6fa8f89f53c3b4e76d7d76edf5a802284e (diff) | |
download | network-manager-applet-e552c19962e70c7133b16b2581516720dd7d43b5.tar.gz |
editor: allow setting band and channel also for client Wi-Fi (rh #1490034)
It may be very convenient to be able to specify what band (and also a channel)
to use when connecting in some areas. There's no reason not to allow that.
https://bugzilla.redhat.com/show_bug.cgi?id=1490034
Signed-off-by: Jiří Klimeš <blueowl@centrum.cz>
-rw-r--r-- | src/connection-editor/page-wifi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c index fb648d1c..32a54b44 100644 --- a/src/connection-editor/page-wifi.c +++ b/src/connection-editor/page-wifi.c @@ -240,7 +240,7 @@ mode_combo_changed_cb (GtkComboBox *combo, CEPageWifiPrivate *priv = CE_PAGE_WIFI_GET_PRIVATE (self); CEPage *parent = CE_PAGE (self); GtkWidget *widget_band_label, *widget_chan_label, *widget_bssid_label; - gboolean show_freq = FALSE; + gboolean show_freq = TRUE; gboolean show_bssid = TRUE; gboolean hotspot = FALSE; @@ -254,10 +254,8 @@ mode_combo_changed_cb (GtkComboBox *combo, * For AP-mode, the BSSID is the MAC address of the device. */ show_bssid = FALSE; - show_freq = TRUE; break; default: /* infrastructure */ - show_freq = FALSE; break; } nm_connection_editor_inter_page_set_value (parent->editor, |