qcacld-3.0: Remove IBSS from MAX_IBSS_PEERS macro
Remove IBSS from MAX_IBSS_PEERS, since this is a generic macro.
Change-Id: Ic50205e84890e6a3bda603ad0f54bebfb2a727ea
CRs-Fixed: 1039559
diff --git a/core/hdd/src/wlan_hdd_nan_datapath.h b/core/hdd/src/wlan_hdd_nan_datapath.h
index db57c16..7113243 100644
--- a/core/hdd/src/wlan_hdd_nan_datapath.h
+++ b/core/hdd/src/wlan_hdd_nan_datapath.h
@@ -41,7 +41,6 @@
#define NDP_QOS_INFO_LEN 255
#define NDP_NUM_INSTANCE_ID 255
-#define HDD_MAX_NUM_NDP_STA (MAX_IBSS_PEERS)
#define NDP_BROADCAST_STAID (0)
#ifdef WLAN_FEATURE_NAN_DATAPATH
@@ -184,7 +183,7 @@
struct nan_datapath_ctx {
enum nan_datapath_state state;
/* idx in following array should follow conn_info.peerMacAddress */
- uint32_t active_ndp_sessions[HDD_MAX_NUM_NDP_STA];
+ uint32_t active_ndp_sessions[MAX_PEERS];
uint32_t active_ndp_peers;
uint16_t ndp_create_transaction_id;
uint16_t ndp_delete_transaction_id;