[gnome-control-center] network: Re-enable the hidden network functionality
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Re-enable the hidden network functionality
- Date: Mon, 30 Jul 2012 08:06:35 +0000 (UTC)
commit 5b35fb719c0527ee96af7af01afdeecec08f37e9
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 30 08:57:55 2012 +0100
network: Re-enable the hidden network functionality
panels/network/net-device-wifi.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index d01e845..0344edf 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1532,6 +1532,7 @@ connect_wifi_network (NetDeviceWifi *device_wifi,
gchar *ssid;
GtkTreeIter iter;
GtkTreeModel *model;
+ NM80211Mode mode;
model = gtk_tree_view_get_model (tv);
gtk_tree_model_get_iter (model, &iter, path);
@@ -1540,9 +1541,10 @@ connect_wifi_network (NetDeviceWifi *device_wifi,
COLUMN_ID, &object_path,
COLUMN_TITLE, &ssid,
COLUMN_AP_IN_RANGE, &ap_in_range,
+ COLUMN_MODE, &mode,
-1);
- if (ap_in_range)
+ if (ap_in_range || mode == NM_802_11_MODE_UNKNOWN)
wireless_try_to_connect (device_wifi, ssid, object_path);
g_free (object_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]