From 319fd193df470820712d86f724a57383d4508d37 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 21 Sep 2003 11:22:25 +0000 Subject: sync with netbsd defines. no functional changes. ok markus deraadt --- sys/dev/ic/if_wi_hostap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/ic') diff --git a/sys/dev/ic/if_wi_hostap.c b/sys/dev/ic/if_wi_hostap.c index 6be36bd6e73..adf0064eb22 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.26 2003/08/15 20:32:17 tedu Exp $ */ +/* $OpenBSD: if_wi_hostap.c,v 1.27 2003/09/21 11:22:24 fgsch Exp $ */ /* * Copyright (c) 2002 @@ -592,7 +592,7 @@ wihap_auth_req(struct wi_softc *sc, struct wi_frame *rxfrm, /* Check for too many stations. */ if (whi->n_stations >= WIHAP_MAX_STATIONS) { - status = IEEE80211_STATUS_TOO_MANY_STATIONS; + status = IEEE80211_STATUS_TOOMANY; goto fail; } @@ -605,7 +605,7 @@ wihap_auth_req(struct wi_softc *sc, struct wi_frame *rxfrm, splx(s); if (sta == NULL) { /* Out of memory! */ - status = IEEE80211_STATUS_TOO_MANY_STATIONS; + status = IEEE80211_STATUS_TOOMANY; goto fail; } } @@ -787,7 +787,7 @@ wihap_assoc_req(struct wi_softc *sc, struct wi_frame *rxfrm, if (wihap_check_rates(sta, rates, rates_len) < 0) { if (sc->sc_arpcom.ac_if.if_flags & IFF_DEBUG) printf("wihap_assoc_req: rates mismatch.\n"); - status = IEEE80211_STATUS_RATES; + status = IEEE80211_STATUS_BASIC_RATE; goto fail; } -- cgit v1.2.3