From bb22e0dad58d8075d2a109843d0328efc371175b Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Mon, 3 Apr 2017 10:44:14 +0530 Subject: [PATCH] qcacld-3.0: Compilation issue while updating the cds config There is a comparison between constant and boolean inside update cds config api which will always fail. To address this issue change the type of variable from boolean to uint8_t. Change-Id: I7ba4d9fedd148d713af334b394757da2a496f5a5 CRs-Fixed: 2027402 --- core/hdd/inc/wlan_hdd_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index a1ff42e8e32c..9f30f5d5f11c 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -9660,7 +9660,7 @@ struct hdd_config { uint32_t ibssPs1RxChainInAtimEnable; bool enable_ip_tcp_udp_checksum_offload; - bool enablePowersaveOffload; + uint8_t enablePowersaveOffload; bool enablefwprint; uint8_t enable_fw_log; uint8_t fVhtAmpduLenExponent;