mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
use correct malloc type to allocate struct ieee80211_node's
Noticed by: phk
This commit is contained in:
parent
566a65385f
commit
710da3ec44
1 changed files with 1 additions and 1 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue