[gnome-control-center] Don't try to activate out-of-range connections
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Don't try to activate out-of-range connections
- Date: Tue, 2 Oct 2012 12:59:31 +0000 (UTC)
commit 6264fea2fe06d3ee06279b1aba14109d149fcdcf
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 29 19:35:23 2012 -0400
Don't try to activate out-of-range connections
It is not going to work...
https://bugzilla.gnome.org/show_bug.cgi?id=684824
panels/network/net-device-wifi.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 4794bff..aa02090 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1645,12 +1645,9 @@ connect_wifi_network (NetDeviceWifi *device_wifi,
COLUMN_AP_IN_RANGE, &ap_in_range,
COLUMN_MODE, &mode,
-1);
-
if (g_strcmp0 (connection_id, "ap-other...") == 0)
connect_to_hidden_network (device_wifi);
- else if (connection_id)
- activate_connection (device_wifi, connection_id);
- else if (ap_in_range || mode == NM_802_11_MODE_UNKNOWN)
+ else if (ap_in_range)
wireless_try_to_connect (device_wifi, ssid, ap_object_path);
else
g_warning ("can't connect");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]