summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-04-05 04:42:42 +0000
committersam <sam@FreeBSD.org>2004-04-05 04:42:42 +0000
commitfeadf84922c881ed5a15a2c37ee356b99563662e (patch)
treeb040e230d06dd46ca7e5c78d3151bdc441639613 /sys
parent0eac2dcc6f056befa2ec95a7c44ba33fbf3141c6 (diff)
downloadFreeBSD-src-feadf84922c881ed5a15a2c37ee356b99563662e.zip
FreeBSD-src-feadf84922c881ed5a15a2c37ee356b99563662e.tar.gz
use correct malloc type to allocate struct ieee80211_node's
Noticed by: phk
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index c2da257..0ecddee 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++)
OpenPOWER on IntegriCloud