diff options
| -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; |
