ソースを参照

Revert "qcacmn: Do not send the scan entry for nontx profile to cfg80211 layer"

This reverts refer to the Commit-Id
f60c8e57d350bdc67c590045df42bc4f3c4155c7.

Change-Id: I4d004ecad6fffd654ee3e90db765acd6cde242c1
CRs-Fixed: 3291428
Adwait Nayak 2 年 前
コミット
321fa3cb5f
1 ファイル変更0 行追加35 行削除
  1. 0 35
      os_if/linux/scan/src/wlan_cfg80211_scan.c

+ 0 - 35
os_if/linux/scan/src/wlan_cfg80211_scan.c

@@ -2083,33 +2083,6 @@ static inline void wlan_cfg80211_put_bss(struct wiphy *wiphy,
 }
 #endif
 
-#ifdef WLAN_FEATURE_MBSSID
-/**
- * wlan_cfg80211_is_nontx_scan_entry() - check if the scan_entry correspond
- *                                       nontx profile
- * @scan_params: scan entry
- *
- * Return: true - if nontx profile, false - if tx profile
- */
-static inline bool
-wlan_cfg80211_is_nontx_scan_entry(struct scan_cache_entry *scan_params)
-{
-	if (scan_params->mbssid_info.profile_count &&
-	    qdf_mem_cmp(scan_params->bssid.bytes,
-			scan_params->mbssid_info.trans_bssid,
-			QDF_MAC_ADDR_SIZE) != 0)
-		return true;
-
-	return false;
-}
-#else
-static inline bool
-wlan_cfg80211_is_nontx_scan_entry(struct scan_cache_entry *scan_params)
-{
-	return false;
-}
-#endif
-
 void wlan_cfg80211_inform_bss_frame(struct wlan_objmgr_pdev *pdev,
 		struct scan_cache_entry *scan_params)
 {
@@ -2125,14 +2098,6 @@ void wlan_cfg80211_inform_bss_frame(struct wlan_objmgr_pdev *pdev,
 
 	wiphy = pdev_ospriv->wiphy;
 
-	if (!wiphy) {
-		osif_err("wiphy is NULL");
-		return;
-	}
-
-	if (wlan_cfg80211_is_nontx_scan_entry(scan_params))
-		return;
-
 	bss_data.frame_len = wlan_get_frame_len(scan_params);
 	bss_data.mgmt = qdf_mem_malloc_atomic(bss_data.frame_len);
 	if (!bss_data.mgmt) {