summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi_hostap.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-10-06 02:18:40 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-10-06 02:18:40 +0000
commit8ff920388972b1de9474c6e452d5af0e09f86477 (patch)
treed093baa8a24a654d8a456f72387740773add92db /sys/dev/ic/if_wi_hostap.c
parent231e9b6545a8d0924bcf5930a81ec9eec2649b92 (diff)
Oops. Forgot to do FREE -> free when I did MALLOC -> malloc.
Diffstat (limited to 'sys/dev/ic/if_wi_hostap.c')
-rw-r--r--sys/dev/ic/if_wi_hostap.c8
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 29e6412bafd..d0be03501ed 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.38 2007/10/03 10:52:11 krw Exp $ */
+/* $OpenBSD: if_wi_hostap.c,v 1.39 2007/10/06 02:18:38 krw Exp $ */
/*
* Copyright (c) 2002
@@ -294,11 +294,11 @@ wihap_shutdown(struct wi_softc *sc)
sta != TAILQ_END(&whi->sta_list); sta = next) {
timeout_del(&sta->tmo);
if (sc->sc_ic.ic_if.if_flags & IFF_DEBUG)
- printf("wihap_shutdown: FREE(sta=%p)\n", sta);
+ printf("wihap_shutdown: free(sta=%p)\n", sta);
next = TAILQ_NEXT(sta, list);
if (sta->challenge)
FREE(sta->challenge, M_TEMP);
- FREE(sta, M_DEVBUF);
+ free(sta, M_DEVBUF);
}
TAILQ_INIT(&whi->sta_list);
@@ -444,7 +444,7 @@ wihap_sta_delete(struct wihap_sta_info *sta)
LIST_REMOVE(sta, hash);
if (sta->challenge)
FREE(sta->challenge, M_TEMP);
- FREE(sta, M_DEVBUF);
+ free(sta, M_DEVBUF);
whi->n_stations--;
}