mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Replace tPESession with struct pe_session
In order to align with the Linux coding style replace all instances of typedef tPESession with struct pe_session. Change-Id: Id339ff06ca229506a82a9959d841f5c406a41b87 CRs-Fixed: 2352192
This commit is contained in:
parent
0f99bd8473
commit
c47d7b1b41
3 changed files with 3 additions and 3 deletions
|
|
@ -566,7 +566,7 @@ struct pe_session {
|
|||
uint32_t dfs_regdomain;
|
||||
};
|
||||
|
||||
typedef struct pe_session tPESession, *tpPESession;
|
||||
typedef struct pe_session *tpPESession;
|
||||
|
||||
struct session_params {
|
||||
uint16_t session_id;
|
||||
|
|
|
|||
|
|
@ -808,7 +808,7 @@ QDF_STATUS pe_open(tpAniSirGlobal pMac, struct cds_config_info *cds_cfg)
|
|||
}
|
||||
|
||||
pMac->lim.gpSession =
|
||||
qdf_mem_malloc(sizeof(tPESession) * pMac->lim.maxBssId);
|
||||
qdf_mem_malloc(sizeof(struct pe_session) * pMac->lim.maxBssId);
|
||||
if (!pMac->lim.gpSession) {
|
||||
status = QDF_STATUS_E_NOMEM;
|
||||
goto pe_open_psession_fail;
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@ tpPESession pe_create_session(tpAniSirGlobal pMac,
|
|||
}
|
||||
|
||||
session_ptr = &pMac->lim.gpSession[i];
|
||||
qdf_mem_set((void *)session_ptr, sizeof(tPESession), 0);
|
||||
qdf_mem_set((void *)session_ptr, sizeof(struct pe_session), 0);
|
||||
/* Allocate space for Station Table for this session. */
|
||||
session_ptr->dph.dphHashTable.pHashTable =
|
||||
qdf_mem_malloc(sizeof(tpDphHashNode) * (numSta + 1));
|
||||
|
|
|
|||
Loading…
Reference in a new issue