diff options
| author | Manjunathappa Prakash <c_pmanju@qca.qualcomm.com> | 2014-08-13 11:23:27 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-08-14 19:53:12 -0700 |
| commit | cfb5656d94f8957966c4752b3e4e83d22c9d2a8f (patch) | |
| tree | fea9307ff33a06e7976483e733c841379814b236 | |
| parent | 289a6fc5509b3251760d5dbeeb6c89a479e8d0e5 (diff) | |
qcacld: fix build error in function 'ol_check_fw_hash'
Patch fixes the build error on platforms where "CONFIG_CNSS" is not
defined:
CORE/SERVICES/BMI/ol_fw.c:364:5: error: unused variable 'digest'
[-Werror=unused-variable]
Change-Id: I0eed31e8497f538685e398d62673e8e5a9d9c83b
CRs-Fixed: 707238
| -rw-r--r-- | CORE/SERVICES/BMI/ol_fw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CORE/SERVICES/BMI/ol_fw.c b/CORE/SERVICES/BMI/ol_fw.c index 4de688be9410..38f167aa7494 100644 --- a/CORE/SERVICES/BMI/ol_fw.c +++ b/CORE/SERVICES/BMI/ol_fw.c @@ -361,7 +361,9 @@ exit: static int ol_check_fw_hash(const u8* data, u32 data_size, ATH_BIN_FILE file) { u8 *hash = NULL; +#ifdef CONFIG_CNSS u8 digest[SHA256_DIGEST_SIZE]; +#endif u8 temp[SHA256_DIGEST_SIZE] = {}; int ret = 0; |
