From 710da3ec44d2cb426b44826e813d58d80dc11aa1 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Mon, 5 Apr 2004 04:42:42 +0000 Subject: [PATCH] use correct malloc type to allocate struct ieee80211_node's Noticed by: phk --- sys/dev/ath/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index c2da2572ea7..0ecddee0d15 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1497,7 +1497,7 @@ static struct ieee80211_node * ath_node_alloc(struct ieee80211com *ic) { struct ath_node *an = - malloc(sizeof(struct ath_node), M_DEVBUF, M_NOWAIT | M_ZERO); + malloc(sizeof(struct ath_node), M_80211_NODE, M_NOWAIT|M_ZERO); if (an) { int i; for (i = 0; i < ATH_RHIST_SIZE; i++)