fc3 wireless-tools patch for atheros: don't timeout scanning



Hi,

This patch needs to be included in the wireless tools on fc3
to get iwlist scanning working for the atheros a/b/g card.
I still haven't succeeded in getting NM to recognize atheros
attachment, but at least the iwlist scan doesn't timeout anymore.

-derek

--- wireless_tools.27/iwlist.c	2004-10-27 16:57:48.000000000 -0400
+++ wireless_tools.28/iwlist.c	2005-03-21 16:30:24.000000000 -0500
@@ -870,7 +911,7 @@
   struct iw_range	range;
   int			has_range;
   struct timeval	tv;				/* Select timeout */
-  int			timeout = 5000000;		/* 5s */
+  int			timeout = 15000000;		/* 15s */
 
   /* Avoid "Unused parameter" warning */
   args = args; count = count;

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord MIT EDU                        PGP key available



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]