diff --git a/umac/scan/core/src/wlan_scan_cache_db_ops.c b/umac/scan/core/src/wlan_scan_cache_db_ops.c index ca2dbab85607..46b0f5ccffa0 100644 --- a/umac/scan/core/src/wlan_scan_cache_db_ops.c +++ b/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; diff --git a/umac/scan/dispatcher/src/wlan_scan_utils_api.c b/umac/scan/dispatcher/src/wlan_scan_utils_api.c index 0ac04f4ca987..8fec73d72466 100644 --- a/umac/scan/dispatcher/src/wlan_scan_utils_api.c +++ b/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;