| 1349 | } |
| 1350 | |
| 1351 | static void |
| 1352 | ieee80211_add_node_nt(struct ieee80211_node_table *nt, |
| 1353 | struct ieee80211_node *ni) |
| 1354 | { |
| 1355 | struct ieee80211com *ic = nt->nt_ic; |
| 1356 | int hash; |
| 1357 | |
| 1358 | IEEE80211_NODE_LOCK_ASSERT(nt); |
| 1359 | |
| 1360 | hash = IEEE80211_NODE_HASH(ic, ni->ni_macaddr); |
| 1361 | (void) ic; /* XXX IEEE80211_NODE_HASH */ |
| 1362 | TAILQ_INSERT_TAIL(&nt->nt_node, ni, ni_list); |
| 1363 | LIST_INSERT_HEAD(&nt->nt_hash[hash], ni, ni_hash); |
| 1364 | nt->nt_count++; |
| 1365 | ni->ni_table = nt; |
| 1366 | } |
| 1367 | |
| 1368 | static void |
| 1369 | ieee80211_del_node_nt(struct ieee80211_node_table *nt, |
no outgoing calls
no test coverage detected