diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 396c63431e1f..e9a3b0f724f1 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -640,7 +640,7 @@ static int cfg80211_parse_colocated_ap(const struct cfg80211_bss_ies *ies, ret = cfg80211_calc_short_ssid(ies, &ssid_elem, &s_ssid_tmp); if (ret) - return ret; + return 0; /* RNR IE may contain more than one NEIGHBOR_AP_INFO */ while (pos + sizeof(*ap_info) <= end) {