Search Linux Wireless

[PATCH 4/4] wifi: cfg80211: make sure to process all per-STA profiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux