MFC r343681:

run(4): fix allocated memory type for ieee80211_node(4)

PR:		177366
This commit is contained in:
Andriy Voskoboinyk 2019-02-06 02:18:11 +00:00
parent 035ec4b4cd
commit 67741ae5d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343821

View File

@ -1987,7 +1987,8 @@ run_read_eeprom(struct run_softc *sc)
static struct ieee80211_node *
run_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN])
{
return malloc(sizeof (struct run_node), M_DEVBUF, M_NOWAIT | M_ZERO);
return malloc(sizeof (struct run_node), M_80211_NODE,
M_NOWAIT | M_ZERO);
}
static int