diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-01-21 16:26:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-01-21 16:26:41 +0000 |
commit | 7b841ea6b6ed98010da6a1e71ebb165af297a70d (patch) | |
tree | 4165dbc5528decf95469765c2f8480470346a8e8 /sys/dev/ic/if_wi_hostap.c | |
parent | d672c83742cab7cd65ac91e8cf87275981ecd565 (diff) |
Stub out hostap bits #ifdef SMALL_KERNEL to free up space on the
floppies; OK mickey@ deraadt@
Diffstat (limited to 'sys/dev/ic/if_wi_hostap.c')
-rw-r--r-- | sys/dev/ic/if_wi_hostap.c | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wi_hostap.c b/sys/dev/ic/if_wi_hostap.c index 2441e57909b..111d642df87 100644 --- a/sys/dev/ic/if_wi_hostap.c +++ b/sys/dev/ic/if_wi_hostap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_hostap.c,v 1.21 2003/01/14 23:29:50 millert Exp $ */ +/* $OpenBSD: if_wi_hostap.c,v 1.22 2003/01/21 16:26:40 millert Exp $ */ /* * Copyright (c) 2002 @@ -94,6 +94,7 @@ void wihap_sta_disassoc(struct wi_softc *sc, u_int8_t sta_addr[], void wihap_disassoc_req(struct wi_softc *sc, struct wi_frame *rxfrm, caddr_t pkt, int len); +#ifndef SMALL_KERNEL /* * take_hword() * @@ -1261,3 +1262,41 @@ wihap_ioctl(struct wi_softc *sc, u_long command, caddr_t data) return (error); } + +#else +void +wihap_init(struct wi_softc *sc) +{ + return; +} + +void +wihap_shutdown(struct wi_softc *sc) +{ + return; +} + +void +wihap_mgmt_input(struct wi_softc *sc, struct wi_frame *rxfrm, struct mbuf *m) +{ + return; +} + +int +wihap_data_input(struct wi_softc *sc, struct wi_frame *rxfrm, struct mbuf *m) +{ + return (0); +} + +int +wihap_ioctl(struct wi_softc *sc, u_long command, caddr_t data) +{ + return (EINVAL); +} + +int +wihap_check_tx(struct wihap_info *whi, u_int8_t addr[], u_int8_t *txrate) +{ + return (0); +} +#endif |