| 1366 | } |
| 1367 | |
| 1368 | static void |
| 1369 | ieee80211_del_node_nt(struct ieee80211_node_table *nt, |
| 1370 | struct ieee80211_node *ni) |
| 1371 | { |
| 1372 | |
| 1373 | IEEE80211_NODE_LOCK_ASSERT(nt); |
| 1374 | |
| 1375 | TAILQ_REMOVE(&nt->nt_node, ni, ni_list); |
| 1376 | LIST_REMOVE(ni, ni_hash); |
| 1377 | nt->nt_count--; |
| 1378 | KASSERT(nt->nt_count >= 0, |
| 1379 | ("nt_count is negative (%d)!\n", nt->nt_count)); |
| 1380 | ni->ni_table = NULL; |
| 1381 | } |
| 1382 | |
| 1383 | struct ieee80211_node * |
| 1384 | ieee80211_alloc_node(struct ieee80211_node_table *nt, |
no outgoing calls
no test coverage detected