mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 00:50:16 +01:00
2008-10-11 Dan Williams <dcbw@redhat.com>
* src/nm-device-wifi.c - (can_scan): remove old madwifi hack for not scanning while connected git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4173 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
6de1f35821
commit
98f392b085
2 changed files with 6 additions and 10 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-10-11 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-device-wifi.c
|
||||
- (can_scan): remove old madwifi hack for not scanning while connected
|
||||
|
||||
2008-10-11 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Add support for VPN subnet gateways (bgo #549196)
|
||||
|
|
|
|||
|
|
@ -1669,16 +1669,7 @@ can_scan (NMDeviceWifi *self)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* Devices supporting only B/G frequencies can scan when disconnected
|
||||
* and activated, but not when activating. We don't allow a/b/g devices to
|
||||
* scan when activated, because there are just too many channels to scan and
|
||||
* it takes too long to scan them, so users get angry when their SSH
|
||||
* sessions lag.
|
||||
*/
|
||||
if ((priv->num_freqs <= 14) && (dev_state == NM_DEVICE_STATE_ACTIVATED))
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue