mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
cba74734a1
commit
591c56501c
3 changed files with 4 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue