Selaa lähdekoodia

qcacld-3.0: Save the unsafe channels in policy manager

Save the list of unsafe channels in policy manager to be used on PCL.

Change-Id: Ibb705830e878d1cc03dfbc76e49c169d2febd75d
CRs-Fixed: 2095290
Tushnim Bhattacharyya 7 vuotta sitten
vanhempi
sitoutus
abc588516c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      core/hdd/src/wlan_hdd_cfg80211.c

+ 2 - 2
core/hdd/src/wlan_hdd_cfg80211.c

@@ -8554,8 +8554,8 @@ static int wlan_hdd_validate_and_get_pre_cac_ch(hdd_context_t *hdd_ctx,
 			hdd_err("Failed to get channel list");
 			return -EINVAL;
 		}
-		policy_mgr_update_with_safe_channel_list(channel_list, &len,
-				pcl_weights, weight_len);
+		policy_mgr_update_with_safe_channel_list(hdd_ctx->hdd_psoc,
+				channel_list, &len, pcl_weights, weight_len);
 		ret = wlan_hdd_sap_get_nol(ap_adapter, nol, &nol_len);
 		for (i = 0; i < len; i++) {
 			found = false;