From 45eeff18223a74d6cbb3fce15b847162f678c285 Mon Sep 17 00:00:00 2001 From: liaoxl Date: Sun, 27 Sep 2020 16:52:19 +0800 Subject: [PATCH] fix compile errors changes in kernel & QCom wlan driver API, so we need these to meet API requirement. Change-Id: I3bf93eeacf8ab0451db72296f3dc5ba6f5f75030 --- core/hdd/src/wlan_hdd_cfg.c | 1 - core/hdd/src/wlan_hdd_wext.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index 3a34295f7fb0..7bc77b604267 100755 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/core/hdd/src/wlan_hdd_cfg.c @@ -165,7 +165,6 @@ QDF_STATUS hdd_generate_random_mac_from_serialno(char *serialNo, int serialnoLen } sdescmd5->shash.tfm = md5; - sdescmd5->shash.flags = 0x0; if (crypto_shash_init(&sdescmd5->shash)) { cryptoStatus = QDF_STATUS_E_FAILURE; diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 8e5ba551ee91..c1748f863a0f 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -114,6 +114,7 @@ #include "wlan_fwol_ucfg_api.h" #include "wlan_hdd_unit_test.h" #include "wlan_hdd_thermal.h" +#include "wlan_hdd_sar_limits.h" /* Private ioctls and their sub-ioctls */ #define WLAN_PRIV_SET_INT_GET_NONE (SIOCIWFIRSTPRIV + 0)