From 98f392b085985a75274fe02ec8aa92f4ac0d8a80 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sat, 11 Oct 2008 18:32:24 +0000 Subject: [PATCH] 2008-10-11 Dan Williams * 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 --- ChangeLog | 5 +++++ src/nm-device-wifi.c | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d16e7c6fd9..9cb94c5ba3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-11 Dan Williams + + * src/nm-device-wifi.c + - (can_scan): remove old madwifi hack for not scanning while connected + 2008-10-11 Dan Williams Add support for VPN subnet gateways (bgo #549196) diff --git a/src/nm-device-wifi.c b/src/nm-device-wifi.c index 664f679277..f0ed948ed9 100644 --- a/src/nm-device-wifi.c +++ b/src/nm-device-wifi.c @@ -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