mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in tSirSetHT2040Mode
Replace tSirMacAddr with cdf_mac_addr in tSirSetHT2040Mode. Change-Id: I802cd0353e6a6408f911ccf26a80b938be8a6e48 CRs-Fixed: 898864
This commit is contained in:
parent
b50010fbd7
commit
c52474ded0
3 changed files with 5 additions and 7 deletions
|
|
@ -2473,7 +2473,7 @@ typedef struct sSirSetHT2040Mode {
|
|||
uint16_t length;
|
||||
uint8_t cbMode;
|
||||
bool obssEnabled;
|
||||
tSirMacAddr bssId;
|
||||
struct cdf_mac_addr bssid;
|
||||
uint8_t sessionId; /* Session ID */
|
||||
} tSirSetHT2040Mode, *tpSirSetHT2040Mode;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -4341,12 +4341,12 @@ static void __lim_process_sme_set_ht2040_mode(tpAniSirGlobal pMac,
|
|||
pSetHT2040Mode = (tpSirSetHT2040Mode) pMsgBuf;
|
||||
|
||||
psessionEntry = pe_find_session_by_bssid(pMac,
|
||||
pSetHT2040Mode->bssId,
|
||||
pSetHT2040Mode->bssid.bytes,
|
||||
&sessionId);
|
||||
if (psessionEntry == NULL) {
|
||||
lim_log(pMac, LOG1,
|
||||
FL("Session does not exist for given BSSID "));
|
||||
lim_print_mac_addr(pMac, pSetHT2040Mode->bssId, LOG1);
|
||||
lim_print_mac_addr(pMac, pSetHT2040Mode->bssid.bytes, LOG1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14206,12 +14206,10 @@ CDF_STATUS csr_set_ht2040_mode(tpAniSirGlobal pMac, uint32_t sessionId,
|
|||
pMsg->messageType = eWNI_SME_SET_HT_2040_MODE;
|
||||
pMsg->length = len;
|
||||
|
||||
/* bssId */
|
||||
cdf_mem_copy((tSirMacAddr *) pMsg->bssId,
|
||||
&pSession->selfMacAddr, sizeof(tSirMacAddr));
|
||||
cdf_copy_macaddr(&pMsg->bssid, &pSession->selfMacAddr);
|
||||
sms_log(pMac, LOG1,
|
||||
FL("CSR Attempting to set HT20/40 mode for Bssid= "
|
||||
MAC_ADDRESS_STR), MAC_ADDR_ARRAY(pMsg->bssId));
|
||||
MAC_ADDRESS_STR), MAC_ADDR_ARRAY(pMsg->bssid.bytes));
|
||||
pMsg->sessionId = sessionId;
|
||||
sms_log(pMac, LOG1, FL(" session %d HT20/40 mode %d"),
|
||||
sessionId, cbMode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue