qcacmn: Consolidate multiple MAC_ADDR_LEN to QDF_MAC_ADDR_SIZE
Consolidate multiple (redundant) MAC_ADDR_LEN to QDF_MAC_ADDR_SIZE
CDP_MAC_ADDR_LEN
OL_TXRX_MAC_ADDR_LEN
DP_MAC_ADDR_LEN
HTT_MAC_ADDR_LEN
IEEE80211_ADDR_LEN
DEFRAG_IEEE80211_ADDR_LEN
ETHER_ADDR_LEN
HAL_MAC_ADDR_LEN
WLAN_MACADDR_LEN
CRs-Fixed: 2406591
Change-Id: I4a87f8ff556920c7b341bdbba99ec43c97b873f4
diff --git a/wmi/src/wmi_unified_ocb_ut.c b/wmi/src/wmi_unified_ocb_ut.c
index bbaf59a..ed4d28a 100644
--- a/wmi/src/wmi_unified_ocb_ut.c
+++ b/wmi/src/wmi_unified_ocb_ut.c
@@ -51,7 +51,7 @@
* Return: QDF_STATUS_SUCCESS for success or error code
*/
static QDF_STATUS fake_vdev_create_cmd_tlv(wmi_unified_t wmi_handle,
- uint8_t macaddr[IEEE80211_ADDR_LEN],
+ uint8_t macaddr[QDF_MAC_ADDR_SIZE],
struct vdev_create_params *param)
{
WMI_LOGP("%s : called", __func__);
@@ -378,7 +378,7 @@
* Return: QDF_STATUS_SUCCESS for success or error code
*/
static QDF_STATUS fake_peer_delete_cmd_tlv(wmi_unified_t wmi,
- uint8_t peer_addr[IEEE80211_ADDR_LEN],
+ uint8_t peer_addr[QDF_MAC_ADDR_SIZE],
uint8_t vdev_id)
{
WMI_LOGP("%s : called", __func__);