Parcourir la source

qcacmn: Fix MIPS regression

Change-Id: I34d30e097cfedef9b805d3e97cd256da232b1e28
CRs-Fixed: 2123844
Sathyanarayanan il y a 7 ans
Parent
commit
0a00062f58

+ 1 - 1
umac/scan/core/src/wlan_scan_cache_db_ops.c

@@ -47,7 +47,7 @@ int scm_calculate_bss_score(struct wlan_objmgr_psoc *psoc,
 	int32_t ap_load = 0;
 	int32_t normalised_width = BEST_CANDIDATE_20MHZ;
 	int32_t pcl_score = 0;
-	int32_t temp_pcl_chan_weight = 0;
+	uint64_t temp_pcl_chan_weight = 0;
 	int32_t est_air_time_percentage = 0;
 	int32_t congestion = 0;
 	int32_t rssi_diff = 0;

+ 1 - 1
umac/scan/dispatcher/src/wlan_scan_utils_api.c

@@ -582,7 +582,7 @@ static void util_scan_update_esp_data(struct wlan_esp_ie *esp_information,
 
 	uint8_t *data;
 	int i = 0;
-	int total_elements;
+	uint64_t total_elements;
 	struct wlan_esp_info *esp_info;
 	struct wlan_esp_ie *esp_ie;