summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-09-13 12:11:05 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-09-13 12:11:05 +0000
commite3f2075749379ea50fffb8a4590e38627fa43f9e (patch)
treedf3f7b04bb39448b6d6e366416436ac1e1a38694 /sys/dev/pcmcia
parent9f7a761da34f11b13cabc604aeef3eb6b708481f (diff)
replace the node hash table with a red-black tree. this fixes some
bugs in the node table (like duplicate nodes in hostap mode), we get rid of possible hash collisions, and it simplifies the code. tested by many, ok damien@, jsg@
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_an_pcmcia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_an_pcmcia.c b/sys/dev/pcmcia/if_an_pcmcia.c
index e9104b7389b..3389b218d25 100644
--- a/sys/dev/pcmcia/if_an_pcmcia.c
+++ b/sys/dev/pcmcia/if_an_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_an_pcmcia.c,v 1.14 2005/06/20 22:42:29 jsg Exp $ */
+/* $OpenBSD: if_an_pcmcia.c,v 1.15 2005/09/13 12:11:04 reyk Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -31,6 +31,7 @@
#include <sys/device.h>
#include <sys/timeout.h>
#include <sys/socket.h>
+#include <sys/mbuf.h>
#include <net/if.h>
#include <net/if_dl.h>