[CUWiN-Dev] fatal ath0 at boot w/3594
David Young
dyoung at pobox.com
Thu Oct 20 21:52:39 CDT 2005
On Thu, Oct 20, 2005 at 09:49:00PM -0500, Bill Comisky wrote:
>
> Attached is a console capture of a CUWiN node built against r3594 and
> ~dyoung/radix-bsd, where I'm seeing a fatal ath0 error at boot and then
> some trace info dumped to the console.
Undo (patch -R) this patch.
Dave
--
David Young OJC Technologies
dyoung at ojctech.com Urbana, IL * (217) 278-3933
-------------- next part --------------
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 18 Oct 2005 22:18:24 -0000
@@ -619,7 +619,7 @@
ieee80211_end_scan(struct ieee80211com *ic)
{
struct ieee80211_node_table *nt = &ic->ic_scan;
- struct ieee80211_node *ni, *selbs;
+ struct ieee80211_node *next_ni, *ni, *selbs;
ieee80211_cancel_scan(ic);
ieee80211_notify_scan_done(ic);
@@ -707,7 +707,8 @@
IEEE80211_DPRINTF(ic, IEEE80211_MSG_SCAN, "\t%s\n",
"macaddr bssid chan rssi rate flag wep essid");
IEEE80211_NODE_LOCK(nt);
- TAILQ_FOREACH(ni, &nt->nt_node, ni_list) {
+ for (ni = TAILQ_FIRST(&nt->nt_node); ni != NULL; ni = next_ni) {
+ next_ni = TAILQ_NEXT(ni, ni_list);
if (ni->ni_fails) {
/*
* The configuration of the access points may change
@@ -718,11 +719,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
continue;
}
if (ieee80211_match_bss(ic, ni) == 0) {
More information about the CU-Wireless-Dev
mailing list