qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSirSmeNewBssInfo

Replace tSirMacAddr with cdf_mac_addr in sSirSmeNewBssInfo.

Change-Id: I5c27589009ee2f517c8a99ed0909c8cb5620293e
CRs-Fixed: 898864
This commit is contained in:
Srinivas Girigowda 2015-09-24 14:23:01 -07:00 • committed by Satish Singh
commit dc10160f01
3 changed files with 4 additions and 3 deletions

View file

@ -1127,7 +1127,7 @@ typedef enum eSirSmeStatusChangeCode {
} tSirSmeStatusChangeCode;
typedef struct sSirSmeNewBssInfo {
tSirMacAddr bssId;
struct cdf_mac_addr bssId;
uint8_t channelNumber;
uint8_t reserved;
tSirMacSSid ssId;

View file

@ -1179,7 +1179,7 @@ void lim_ibss_add_bss_rsp_when_coalescing(tpAniSirGlobal pMac, void *msg,
sizeof(uint8_t) + pBeacon->ssId.length + 1;
cdf_mem_set((void *)&newBssInfo, sizeof(newBssInfo), 0);
cdf_mem_copy(newBssInfo.bssId, pHdr->bssId, sizeof(tSirMacAddr));
cdf_mem_copy(newBssInfo.bssId.bytes, pHdr->bssId, CDF_MAC_ADDR_SIZE);
newBssInfo.channelNumber = (tSirMacChanNum) pAddBss->currentOperChannel;
cdf_mem_copy((uint8_t *) &newBssInfo.ssId,
(uint8_t *) &pBeacon->ssId, pBeacon->ssId.length + 1);

View file

@ -10460,7 +10460,8 @@ csr_roam_diag_joined_new_bss(tpAniSirGlobal mac_ctx,
return;
pIbssLog->eventId = WLAN_IBSS_EVENT_COALESCING;
if (pNewBss) {
cdf_mem_copy(pIbssLog->bssid, pNewBss->bssId, 6);
cdf_mem_copy(pIbssLog->bssid, pNewBss->bssId.bytes,
CDF_MAC_ADDR_SIZE);
if (pNewBss->ssId.length)
cdf_mem_copy(pIbssLog->ssid, pNewBss->ssId.ssId,
pNewBss->ssId.length);