Skip to main content
Sign in
Snippets Groups Projects
Commit 11912c2d authored by Jakob Olsson's avatar Jakob Olsson
Browse files

mld: use ap-autoconf renew to teardown MLD with no affiliated APs

parent 7c783545
No related branches found
No related tags found
1 merge request!458mld: use ap-autoconf renew to teardown MLD with no affiliated APs
Pipeline #211029 passed
...@@ -3117,7 +3117,12 @@ uint32_t cntlr_mld_id_diff(struct controller_config *curr, ...@@ -3117,7 +3117,12 @@ uint32_t cntlr_mld_id_diff(struct controller_config *curr,
continue; continue;
if (prev_mld->num_affiliated_aps != curr_mld->num_affiliated_aps) { if (prev_mld->num_affiliated_aps != curr_mld->num_affiliated_aps) {
if (curr_mld->multi_ap & 0x01) { if (curr_mld->num_affiliated_aps == 0 ||
prev_mld->num_affiliated_aps == 0) {
diff |= CONFIG_DIFF_CREDENTIALS;
/* AP-Autoconfiguration Renew covers all cases */
return diff;
} else if (curr_mld->multi_ap & 0x01) {
diff |= CONFIG_DIFF_BSTA_MLD; diff |= CONFIG_DIFF_BSTA_MLD;
diff |= CONFIG_DIFF_AP_MLD; diff |= CONFIG_DIFF_AP_MLD;
multi_ap |= 0x01; multi_ap |= 0x01;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment