qcacld-3.0: Correct IEs in beacon filter API

qcacld-2.0 to qcacld-3.0 propagation

IE's numbers are not set correctly in beacon filter API.

Add changes to correct this.

Change-Id: Ib489b0fc7bc1f0a2b7414f59ed325deecb65bb8e
CRs-Fixed: 1030084
This commit is contained in:
Kapil Gupta 2016-09-22 16:54:35 +05:30 • committed by qcabuildsw
commit 80f4a8dad8
2 changed files with 1 additions and 3 deletions

View file

@ -364,7 +364,7 @@ static int hdd_add_beacon_filter(hdd_adapter_t *adapter)
hdd_context_t *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
for (i = 0; i < ARRAY_SIZE(beacon_filter_table); i++)
qdf_set_bit((beacon_filter_table[i] - 1),
qdf_set_bit((beacon_filter_table[i]),
(unsigned long int *)ie_map);
status = sme_add_beacon_filter(hdd_ctx->hHal,

View file

@ -1132,7 +1132,6 @@ QDF_STATUS wma_add_beacon_filter(WMA_HANDLE handle,
wmi_buf_free(wmi_buf);
return QDF_STATUS_E_FAILURE;
}
WMA_LOGD("added beacon filter = %d", ret);
return QDF_STATUS_SUCCESS;
}
@ -1180,7 +1179,6 @@ QDF_STATUS wma_remove_beacon_filter(WMA_HANDLE handle,
wmi_buf_free(buf);
return QDF_STATUS_E_FAILURE;
}
WMA_LOGD("removed beacon filter = %d", ret);
return QDF_STATUS_SUCCESS;
}