qcacld-3.0: Rename pMac in misc MAC files
Per the Linux coding style "mixed-case names are frowned upon" and "so-called Hungarian notation [...] is brain damaged." One identifier used extensively throughout the driver that violates both of these tenants is "pMac." In order to be compliant with the Linux coding style there is a campaign to rename all instances of this identifier. For this change rename all instances of "pMac" to "mac" in: ani_global.h mac_trace.h Change-Id: I4585dbda350e5e8da3970266b3809edec82c8973 CRs-Fixed: 2355462
This commit is contained in:
parent
0fb62a4882
commit
1fb8d88e99
@ -79,7 +79,7 @@ static inline mac_handle_t MAC_HANDLE(tpAniSirGlobal mac)
|
||||
return (mac_handle_t)mac;
|
||||
}
|
||||
|
||||
#define ANI_DRIVER_TYPE(pMac) (((tpAniSirGlobal)(pMac))->gDriverType)
|
||||
#define ANI_DRIVER_TYPE(mac) (((tpAniSirGlobal)(mac))->gDriverType)
|
||||
|
||||
/* ------------------------------------------------------------------- */
|
||||
/* Bss Qos Caps bit map definition */
|
||||
@ -248,7 +248,7 @@ enum wifi_logging_ring_id {
|
||||
|
||||
/* ------------------------------------------------------------------- */
|
||||
/* Change channel generic scheme */
|
||||
typedef void (*CHANGE_CHANNEL_CALLBACK)(tpAniSirGlobal pMac, QDF_STATUS status,
|
||||
typedef void (*CHANGE_CHANNEL_CALLBACK)(tpAniSirGlobal mac, QDF_STATUS status,
|
||||
uint32_t *data,
|
||||
struct pe_session *psessionEntry);
|
||||
|
||||
|
@ -39,9 +39,9 @@
|
||||
#define eLOG_NODROP_MISSED_BEACON_SCENARIO 0
|
||||
#define eLOG_PROC_DEAUTH_FRAME_SCENARIO 1
|
||||
|
||||
void mac_trace(tpAniSirGlobal pMac, uint8_t code, uint16_t session,
|
||||
void mac_trace(tpAniSirGlobal mac, uint8_t code, uint16_t session,
|
||||
uint32_t data);
|
||||
void mac_trace_new(tpAniSirGlobal pMac, uint8_t module, uint8_t code,
|
||||
void mac_trace_new(tpAniSirGlobal mac, uint8_t module, uint8_t code,
|
||||
uint16_t session, uint32_t data);
|
||||
uint8_t *mac_trace_get_cfg_msg_string(uint16_t cfgMsg);
|
||||
uint8_t *mac_trace_get_lim_msg_string(uint16_t limMsg);
|
||||
|
Loading…
Reference in New Issue
Block a user