summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGovind Singh <govinds@codeaurora.org>2017-01-06 21:43:26 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-01-15 21:48:22 -0800
commit391cca249d82595aa7c684f810913044cacadca0 (patch)
tree73679399fffac17aec530bb0ea57f0ca1f72f24f
parentffd081f6886cb52a0e5094f01a4e4ce39f11b21c (diff)
qcacld-3.0: Fix compilation failure with fw api project
MAX_PEERS is not defined in fw API files, this is resulting in compilation failure. Define MAX_PEER macro in common header file. CRs-Fixed: 1108450 Change-Id: I4f15870dcc175c257659154141197728ca90bfbe
-rw-r--r--core/mac/inc/sir_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h
index dd8f57a2f3e2..30e1bce43623 100644
--- a/core/mac/inc/sir_api.h
+++ b/core/mac/inc/sir_api.h
@@ -57,6 +57,8 @@ typedef struct sAniSirGlobal *tpAniSirGlobal;
#include "wmi_unified_param.h"
#include <dot11f.h>
+#define MAX_PEERS 32
+
#define OFFSET_OF(structType, fldName) (&((structType *)0)->fldName)
/* / Max supported channel list */