瀏覽代碼

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
Gangadhar Kavalastramath 3 年之前
父節點
當前提交
6d1a746ffb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/dp_internal.h

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