Don't try to activate out-of-range connections
It is not going to work... https://bugzilla.gnome.org/show_bug.cgi?id=684824
This commit is contained in:
parent
446f7cf027
commit
6264fea2fe
1 changed files with 1 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue