Home
last modified time | relevance | path

Searched refs:firstempty (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/net80211/
H A Dieee80211_mesh.c443 int i, firstempty = -1; in ieee80211_mesh_register_proto_path() local
449 if (!mesh_proto_paths[i].mpp_active && firstempty == -1) in ieee80211_mesh_register_proto_path()
450 firstempty = i; in ieee80211_mesh_register_proto_path()
452 if (firstempty < 0) in ieee80211_mesh_register_proto_path()
454 memcpy(&mesh_proto_paths[firstempty], mpp, sizeof(*mpp)); in ieee80211_mesh_register_proto_path()
455 mesh_proto_paths[firstempty].mpp_active = 1; in ieee80211_mesh_register_proto_path()
463 int i, firstempty = -1; in ieee80211_mesh_register_proto_metric() local
469 if (!mesh_proto_metrics[i].mpm_active && firstempty == -1) in ieee80211_mesh_register_proto_metric()
470 firstempty = i; in ieee80211_mesh_register_proto_metric()
472 if (firstempty < 0) in ieee80211_mesh_register_proto_metric()
[all …]