From 8675b8636bb55a0ce8bc6e4129251a751be2594f Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Mon, 28 Mar 2016 22:09:18 +0530 Subject: [PATCH] qcacmn: Use IEEE80211_ADDR_LEN macro for size of mac address Use IEEE80211_ADDR_LEN macro consistently for size of 802.11 address. Change-Id: I799433a6dc509f98d723f8d8c09d9ba348d9f07e CRs-Fixed: 987362 --- wmi_unified_param.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wmi_unified_param.h b/wmi_unified_param.h index cae9ccd163..9acf4ebff7 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -851,7 +851,7 @@ struct wmi_gtx_config { * @ucProxyProbeReqValidIEBmap: valid IE bitmap */ struct wmi_probe_resp_params { - uint8_t bssId[WMI_ETH_LEN]; + uint8_t bssId[IEEE80211_ADDR_LEN]; uint8_t *pProbeRespTemplate; uint32_t probeRespTemplateLen; uint32_t ucProxyProbeReqValidIEBmap[8]; @@ -1623,7 +1623,7 @@ struct delts_req_info { struct del_ts_params { uint16_t staIdx; uint16_t tspecIdx; - uint8_t bssId[WMI_ETH_LEN]; + uint8_t bssId[IEEE80211_ADDR_LEN]; uint8_t sessionId; uint8_t userPrio; #ifdef WLAN_FEATURE_ROAM_OFFLOAD @@ -1950,7 +1950,7 @@ struct tdls_peer_cap_params { */ struct tdls_peer_state_params { uint32_t vdevId; - uint8_t peerMacAddr[WMI_ETH_LEN]; + uint8_t peerMacAddr[IEEE80211_ADDR_LEN]; uint32_t peerState; struct tdls_peer_cap_params peerCap; }; @@ -2003,7 +2003,7 @@ struct wmi_tdls_params { */ struct tdls_channel_switch_params { uint32_t vdev_id; - uint8_t peer_mac_addr[WMI_ETH_LEN]; + uint8_t peer_mac_addr[IEEE80211_ADDR_LEN]; uint16_t tdls_off_ch_bw_offset; uint8_t tdls_off_ch; uint8_t tdls_sw_mode;