Skip to content
Snippets Groups Projects

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

Merged Jakob Olsson requested to merge mld-renew-fix into devel
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
+ 6
1
@@ -3117,7 +3117,12 @@ uint32_t cntlr_mld_id_diff(struct controller_config *curr,
continue;
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_AP_MLD;
multi_ap |= 0x01;
Loading