Currently if BSS entry can't be created from any per-STA profile all subsequent per-STA profiles in the multi-link element are ignored, though they can generate valid BSS entries. To avoid this continue processing the remaining per-STA profiles in the multi-link element even if BSS entry not created from current per-STA profile. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@xxxxxxxxxxx> --- net/wireless/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 37ebe5a..546758c 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -3046,7 +3046,7 @@ cfg80211_parse_ml_elem_sta_data(struct wiphy *wiphy, bss = cfg80211_inform_single_bss_data(wiphy, &data, gfp); if (!bss) - break; + continue; cfg80211_put_bss(wiphy, bss); } -- 2.7.4