1 --- a/net80211/ieee80211_node.c
2 +++ b/net80211/ieee80211_node.c
4 __func__, ni, MAC_ADDR(vap->iv_myaddr));
5 KASSERT(ni != NULL, ("unable to setup inital BSS node"));
7 - vap->iv_bss = PASS_NODE(ni);
8 - KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 2),
9 + vap->iv_bss = ieee80211_ref_node(ni);
10 + KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 3),
11 ("wrong refcount for new node."));