Subject: another ath(4) patch
To: None <tech-net@netbsd.org, current-users@netbsd.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 10/25/2005 03:50:51
--1sNVjLsmu1MXqwQ/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I have attached a more conservative version of my prior patch for
scanning; it may help you if your Atheros card goes out to lunch.
Of course, reverse my previous patch.
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933
--1sNVjLsmu1MXqwQ/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=scan-stopgap
Index: ieee80211_node.c
===================================================================
RCS file: /cvsroot/src/sys/net80211/ieee80211_node.c,v
retrieving revision 1.44
diff -u -u -r1.44 ieee80211_node.c
--- ieee80211_node.c 25 Sep 2005 00:03:06 -0000 1.44
+++ ieee80211_node.c 24 Oct 2005 05:23:31 -0000
@@ -718,11 +718,8 @@
"%s: skip scan candidate %s, fails %u\n",
__func__, ether_sprintf(ni->ni_macaddr),
ni->ni_fails);
- ni->ni_fails++;
-#if 0
if (ni->ni_fails++ > 2)
- ieee80211_free_node(ni);
-#endif
+ ni->ni_fails = 0;
continue;
}
if (ieee80211_match_bss(ic, ni) == 0) {
--1sNVjLsmu1MXqwQ/--