[network-manager-applet] editor: allow setting band and channel also for client Wi-Fi (rh #1490034)
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: allow setting band and channel also for client Wi-Fi (rh #1490034)
- Date: Mon, 6 Nov 2017 11:51:01 +0000 (UTC)
commit e552c19962e70c7133b16b2581516720dd7d43b5
Author: Jiří Klimeš <blueowl centrum cz>
Date: Thu Nov 2 13:33:52 2017 +0100
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>
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 fb648d1..32a54b4 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]