diff options
author | alfred <alfred@FreeBSD.org> | 2002-04-12 05:46:36 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-04-12 05:46:36 +0000 |
commit | 7f437a4ed46fb88114cdf1660f4aec3eb64dca4b (patch) | |
tree | 26df3c20846e9906d0a1ef64aedd88f6d262b7b9 /sys/dev | |
parent | 81fcf8a41ffec189944fb50359fe701f1d50a5ee (diff) | |
download | FreeBSD-src-7f437a4ed46fb88114cdf1660f4aec3eb64dca4b.zip FreeBSD-src-7f437a4ed46fb88114cdf1660f4aec3eb64dca4b.tar.gz |
ifdef WI_HOSTAP some stuff that seems like it needs to be ifdef'd.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index f7e656e..8d6be41 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -2004,6 +2004,7 @@ wi_init(xsc) return; } +#ifdef WI_HOSTAP static u_int32_t crc32_tab[] = { 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, @@ -2138,6 +2139,7 @@ wi_do_hostencrypt(struct wi_softc *sc, caddr_t buf, int len) dat[i] ^= state[(state[x] + state[y]) % RC4STATE]; } } +#endif /* WI_HOSTAP */ static void wi_start(ifp) |