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_wext.c b/core/hdd/src/wlan_hdd_wext.c
index cb0ad82..3801966 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -786,7 +786,7 @@
uint8_t idx;
hdd_station_ctx_t *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(pAdapter);
- for (idx = 0; idx < MAX_IBSS_PEERS; idx++) {
+ for (idx = 0; idx < MAX_PEERS; idx++) {
if (0 != pHddStaCtx->conn_info.staId[idx] &&
staIdx == pHddStaCtx->conn_info.staId[idx]) {
return &pHddStaCtx->conn_info.peerMacAddress[idx];
@@ -7332,7 +7332,7 @@
int idx = 0;
int length = 0, buf = 0;
- for (idx = 0; idx < MAX_IBSS_PEERS; idx++) {
+ for (idx = 0; idx < MAX_PEERS; idx++) {
if (0 != pHddStaCtx->conn_info.staId[idx]) {
buf = snprintf
((extra + length),