Browse Source

qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSirWlanExcludeUnencryptParam

Replace tSirMacAddr with cdf_mac_addr in sSirWlanExcludeUnencryptParam

Change-Id: Ie6b3172757826d579ac44027b1d023be62b3292f
CRs-Fixed: 898864
Srinivas Girigowda 9 years ago
parent
commit
a6a1d20a3a
2 changed files with 3 additions and 2 deletions
  1. 1 1
      core/mac/inc/sir_api.h
  2. 2 1
      core/mac/src/pe/lim/lim_send_messages.c

+ 1 - 1
core/mac/inc/sir_api.h

@@ -3482,7 +3482,7 @@ typedef struct sSirSmeCandidateFoundInd {
 #ifdef WLAN_FEATURE_11W
 typedef struct sSirWlanExcludeUnencryptParam {
 	bool excludeUnencrypt;
-	tSirMacAddr bssId;
+	struct cdf_mac_addr bssid;
 } tSirWlanExcludeUnencryptParam, *tpSirWlanExcludeUnencryptParam;
 #endif
 

+ 2 - 1
core/mac/src/pe/lim/lim_send_messages.c

@@ -833,7 +833,8 @@ tSirRetStatus lim_send_exclude_unencrypt_ind(tpAniSirGlobal pMac,
 	}
 
 	pExcludeUnencryptParam->excludeUnencrypt = excludeUnenc;
-	sir_copy_mac_addr(pExcludeUnencryptParam->bssId, psessionEntry->bssId);
+	cdf_mem_copy(pExcludeUnencryptParam->bssid.bytes, psessionEntry->bssId,
+			CDF_MAC_ADDR_SIZE);
 
 	msgQ.type = WMA_EXCLUDE_UNENCRYPTED_IND;
 	msgQ.reserved = 0;