qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSmeSwitchChannelInd

Replace tSirMacAddr with cdf_mac_addr in tSirSmeSwitchChannelInd.

Change-Id: Ide9e600c1c4b105740bd16a13366e1e2f5f9fda6
CRs-Fixed: 898864
This commit is contained in:
Srinivas Girigowda 2015-12-30 17:39:50 -08:00 • committed by Akash Patel
commit 591c56501c
3 changed files with 4 additions and 4 deletions

View file

@ -1469,7 +1469,7 @@ typedef struct sSirSmeSwitchChannelInd {
uint16_t length;
uint8_t sessionId;
uint16_t newChannelId;
tSirMacAddr bssId; /* BSSID */
struct cdf_mac_addr bssid; /* BSSID */
} tSirSmeSwitchChannelInd, *tpSirSmeSwitchChannelInd;
/* / Definition for Neighbor BSS indication */

View file

@ -2683,8 +2683,8 @@ void lim_switch_channel_cback(tpAniSirGlobal pMac, CDF_STATUS status,
pSirSmeSwitchChInd->newChannelId =
psessionEntry->gLimChannelSwitch.primaryChannel;
pSirSmeSwitchChInd->sessionId = psessionEntry->smeSessionId;
cdf_mem_copy(pSirSmeSwitchChInd->bssId, psessionEntry->bssId,
sizeof(tSirMacAddr));
cdf_mem_copy(pSirSmeSwitchChInd->bssid.bytes, psessionEntry->bssId,
CDF_MAC_ADDR_SIZE);
mmhMsg.bodyptr = pSirSmeSwitchChInd;
mmhMsg.bodyval = 0;

View file

@ -10268,7 +10268,7 @@ csr_roam_chk_lnk_swt_ch_ind(tpAniSirGlobal mac_ctx, tSirSmeRsp *msg_ptr)
* statusCode.
*/
status = csr_roam_get_session_id_from_bssid(mac_ctx,
(struct cdf_mac_addr *) pSwitchChnInd->bssId, &sessionId);
&pSwitchChnInd->bssid, &sessionId);
if (CDF_IS_STATUS_SUCCESS(status)) {
session = CSR_GET_SESSION(mac_ctx, sessionId);
if (!session) {