diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-09-21 11:22:25 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-09-21 11:22:25 +0000 |
commit | 319fd193df470820712d86f724a57383d4508d37 (patch) | |
tree | 11fe3f0141b0521d60c345f87faa163510a12862 /sys/dev | |
parent | aee1fc56ed49e8c5069cf664164e38327e3abd6f (diff) |
sync with netbsd defines. no functional changes.
ok markus deraadt
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/if_wi_hostap.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |