aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c2da2572ea740..0ecddee0d15ab 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++)