| 1217 | } |
| 1218 | |
| 1219 | static void |
| 1220 | sta_dec_fails(struct sta_table *st) |
| 1221 | { |
| 1222 | struct sta_entry *se; |
| 1223 | |
| 1224 | IEEE80211_SCAN_TABLE_LOCK(st); |
| 1225 | TAILQ_FOREACH(se, &st->st_entry, se_list) |
| 1226 | if (se->se_fails) |
| 1227 | se->se_fails--; |
| 1228 | IEEE80211_SCAN_TABLE_UNLOCK(st); |
| 1229 | } |
| 1230 | |
| 1231 | static struct sta_entry * |
| 1232 | select_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap, int debug) |
no outgoing calls
no test coverage detected