qcacmn: Use the peer mac address array instead of structure

Currently the driver uses structure for peer mac address
to store the mac address.

Use the already existing peer mac address array for the same.

Change-Id: Ib49b2ac4747fce3610da73a1d29c67ccaaeaad65
CRs-Fixed: 2390282
This commit is contained in:
gaurank kathpalia
2019-01-28 19:48:16 +05:30
committed by nshrivas
parent da4a452492
commit f49f17ea85
2 changed files with 1 additions and 13 deletions

View File

@@ -1187,7 +1187,6 @@ typedef struct {
/**
* struct peer_assoc_params - peer assoc cmd parameter
* @peer_macaddr: peer mac address
* @vdev_id: vdev id
* @peer_new_assoc: peer association type
* @peer_associd: peer association id
@@ -1243,7 +1242,6 @@ typedef struct {
* @peer_ppet: Peer HE PPET info
*/
struct peer_assoc_params {
wmi_host_mac_addr peer_macaddr;
uint32_t vdev_id;
uint32_t peer_new_assoc;
uint32_t peer_associd;
@@ -1289,8 +1287,8 @@ struct peer_assoc_params {
bool safe_mode_enabled;
bool amsdu_disable;
/* Use common structure */
uint8_t peer_mac[IEEE80211_ADDR_LEN];
#endif
uint8_t peer_mac[IEEE80211_ADDR_LEN];
bool he_flag;
bool twt_requester;
bool twt_responder;