Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac69ec23 authored by Srinivas Girigowda's avatar Srinivas Girigowda Committed by Akash Patel
Browse files

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
parent 1d4ce0f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */
+2 −2
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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) {