From 6d1a746ffb38bf1c158056803a961f070656c00c Mon Sep 17 00:00:00 2001 From: Gangadhar Kavalastramath Date: Wed, 4 May 2022 16:52:52 +0530 Subject: [PATCH] qcacmn: Use appropriate value to define invalid WBM ring Define INVALID_WBM_RING_NUM with 0xF instead 0xFF. This limits shifting operation within bound. Change-Id: I646966d8d50ef4f8b3096a96e1e78fd69a878646 CRs-Fixed: 3187163 --- dp/wifi3.0/dp_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_internal.h b/dp/wifi3.0/dp_internal.h index e0125006d9..cdb650dc6f 100644 --- a/dp/wifi3.0/dp_internal.h +++ b/dp/wifi3.0/dp_internal.h @@ -41,7 +41,7 @@ /* Macro For NYSM value received in VHT TLV */ #define VHT_SGI_NYSM 3 -#define INVALID_WBM_RING_NUM 0xFF +#define INVALID_WBM_RING_NUM 0xF /* struct htt_dbgfs_cfg - structure to maintain required htt data * @msg_word: htt msg sent to upper layer