Quellcode durchsuchen

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
Ashish Kumar Dhanotiya vor 8 Jahren
Ursprung
Commit
bb22e0dad5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      core/hdd/inc/wlan_hdd_cfg.h

+ 1 - 1
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;