Skip to content
Snippets Groups Projects
Commit 421e7f4f authored by Jakob Olsson's avatar Jakob Olsson
Browse files

config: fix type backhaul/fronthaul mapping

parent e3836772
No related branches found
No related tags found
No related merge requests found
Pipeline #30090 failed
...@@ -598,10 +598,10 @@ static int cntlr_config_get_credentials(struct controller_config *c, ...@@ -598,10 +598,10 @@ static int cntlr_config_get_credentials(struct controller_config *c,
if (tb[CRED_TYPE]) { if (tb[CRED_TYPE]) {
const char *type = tb[CRED_TYPE]->v.string; const char *type = tb[CRED_TYPE]->v.string;
if (!strcmp(type, "fronthaul")) { if (!strcmp(type, "backhaul")) {
cred->multi_ap = 1; cred->multi_ap = 1;
cred->mode = AP_WIFI_BBSS; cred->mode = AP_WIFI_BBSS;
} else if (!strcmp(type, "backhaul")) { } else if (!strcmp(type, "fronthaul")) {
cred->multi_ap = 2; cred->multi_ap = 2;
cred->mode = AP_WIFI_FBSS; cred->mode = AP_WIFI_FBSS;
} else if (!strcmp(type, "combined")) { } else if (!strcmp(type, "combined")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment