lp292054_tune_supplicant_timeout_60s.patch

From: Alexander Sack <[email protected]>
Subject: Workaround driver/wpasupplicant slowness bug by giving association
 more time
Bug-Ubuntu: http://launchpad.net/bugs/292054

--- 
network-manager-0.8.1~beta1~git.20100510t073507.f3057a6.orig/src/nm-device-wifi.c
   2010-05-10 19:39:11.000000000 +0000
+++ 
network-manager-0.8.1~beta1~git.20100510t073507.f3057a6/src/nm-device-wifi.c    
    2010-05-10 19:56:21.000000000 +0000
@@ -2792,7 +2792,7 @@
        priv = NM_DEVICE_WIFI_GET_PRIVATE (self);

        /* Set up a timeout on the connection attempt to fail it after 25 
seconds */
-       id = g_timeout_add_seconds (25, supplicant_connection_timeout_cb, self);
+       id = g_timeout_add_seconds (60, supplicant_connection_timeout_cb, self);
        if (id == 0) {
                nm_log_err (LOGD_DEVICE | LOGD_WIFI,
                            "Activation (%s/wireless): couldn't start 
supplicant "

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/446623

Title:
  Failure timeout for connecting to hidden Wi-Fi network should be
  shorter than 60 seconds

Status in NetworkManager:
  Unknown
Status in “network-manager” package in Ubuntu:
  New

Bug description:
  Binary package hint: network-manager

  While testing how well hidden networks work in Ubuntu/Kubuntu Karmic
  Beta, I discovered that if you try to connect to a non-existent hidden
  network, that it takes a full 60 seconds to timeout / fail to connect.

  I haven't actually looked at the code yet, but it should be possible
  to tell that the network doesn't exist in the time it takes to get a
  SSID-specific scan result back from wpa_supplicant.

  ProblemType: Bug
  Architecture: i386
  CRDA: Error: [Errno 2] No such file or directory
  Date: Thu Oct  8 15:21:49 2009
  DistroRelease: Ubuntu 9.10
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  IpRoute:
   192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.106  metric 
1 
   192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.104  metric 
2 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   default via 192.168.1.1 dev eth0  proto static
  NonfreeKernelModules: nvidia wl
  Package: network-manager 0.8~a~git.20091005t192303.1d28ad1-0ubuntu2
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
  SourcePackage: network-manager
  Uname: Linux 2.6.31-12-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/446623/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to