2008-10-11 Dan Williams <dcbw@redhat.com>
authorDan Williams <dcbw@redhat.com>
Sat, 11 Oct 2008 18:32:24 +0000 (18:32 +0000)
committerDan Williams <dcbw@redhat.com>
Sat, 11 Oct 2008 18:32:24 +0000 (18:32 +0000)
* 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
src/nm-device-wifi.c

index d16e7c6..9cb94c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
index 664f679..f0ed948 100644 (file)
@@ -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