Skip to content
Snippets Groups Projects
Commit 9a6cf83f authored by Maxim Menshikov's avatar Maxim Menshikov
Browse files

Sync with fhlist->aplist change

parent e78b29fd
No related branches found
No related tags found
No related merge requests found
Pipeline #113198 failed
......@@ -327,7 +327,7 @@ int qos_apply_dscp_rules(void *agent)
dscp_pcp_conv_result rc;
struct agent *a = (struct agent *)agent;
struct temp_rule *r;
struct netif_fhcfg *fcfg = NULL;
struct netif_apcfg *fcfg = NULL;
int biggest_precedence_idx = -1;
int biggest_precedence = -1;
size_t i;
......@@ -372,7 +372,7 @@ int qos_apply_dscp_rules(void *agent)
continue;
}
list_for_each_entry(fcfg, &a->cfg.fhlist, list) {
list_for_each_entry(fcfg, &a->cfg.aplist, list) {
runCmd("hostapd_cli -i %s set_qos_map_set %s",
fcfg->name, str);
}
......@@ -390,7 +390,7 @@ int qos_apply_dscp_rules(void *agent)
int qos_sync_rules_to_nodes(void *agent)
{
struct agent *a = (struct agent *)agent;
struct netif_fhcfg *fcfg = NULL;
struct netif_apcfg *fcfg = NULL;
struct node *n = NULL;
list_for_each_entry(n, &a->nodelist, list) {
......@@ -398,7 +398,7 @@ int qos_sync_rules_to_nodes(void *agent)
hwaddr_ntoa(n->alid, mac);
list_for_each_entry(fcfg, &a->cfg.fhlist, list) {
list_for_each_entry(fcfg, &a->cfg.aplist, list) {
runCmd("hostapd_cli -i %s send_qos_map_conf %s",
fcfg->name, mac);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment