qcacld-3.0: Rename pBeaconIes
The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename pBeaconIes to align with the Coding Style. Change-Id: Ib1d48cd0db2a497c68c3596230b22e169ed0cc8f CRs-Fixed: 2121264
Este cometimento está contido em:
cometido por
Nandini Suresh
ascendente
fd0608595b
cometimento
04e00085e4
@@ -46,6 +46,7 @@
|
||||
#define pHddStaCtx
|
||||
#define pHostapdState
|
||||
#define pRoamInfo
|
||||
#define pBeaconIes
|
||||
|
||||
/*
|
||||
* Include files
|
||||
|
@@ -1155,7 +1155,7 @@ hdd_send_update_beacon_ies_event(struct hdd_adapter *adapter,
|
||||
tCsrRoamInfo *pCsrRoamInfo)
|
||||
{
|
||||
union iwreq_data wrqu;
|
||||
u8 *pBeaconIes;
|
||||
u8 *beacon_ies;
|
||||
u8 currentLen = 0;
|
||||
char *buff;
|
||||
int totalIeLen = 0, currentOffset = 0, strLen;
|
||||
@@ -1166,15 +1166,15 @@ hdd_send_update_beacon_ies_event(struct hdd_adapter *adapter,
|
||||
hdd_debug("beacon frame length is 0");
|
||||
return;
|
||||
}
|
||||
pBeaconIes = (u8 *) (pCsrRoamInfo->pbFrames + BEACON_FRAME_IES_OFFSET);
|
||||
if (pBeaconIes == NULL) {
|
||||
beacon_ies = (u8 *) (pCsrRoamInfo->pbFrames + BEACON_FRAME_IES_OFFSET);
|
||||
if (beacon_ies == NULL) {
|
||||
hdd_warn("Beacon IEs is NULL");
|
||||
return;
|
||||
}
|
||||
/* pBeaconIes needs to point to the IEs */
|
||||
/* beacon_ies needs to point to the IEs */
|
||||
hdd_debug("Beacon IEs is now at %02x%02x",
|
||||
(unsigned int)pBeaconIes[0],
|
||||
(unsigned int)pBeaconIes[1]);
|
||||
(unsigned int)beacon_ies[0],
|
||||
(unsigned int)beacon_ies[1]);
|
||||
hdd_debug("Beacon IEs length = %d",
|
||||
pCsrRoamInfo->nBeaconLength - BEACON_FRAME_IES_OFFSET);
|
||||
|
||||
@@ -1198,7 +1198,7 @@ hdd_send_update_beacon_ies_event(struct hdd_adapter *adapter,
|
||||
qdf_mem_zero(&buff[strLen + 1], IW_CUSTOM_MAX - (strLen + 1));
|
||||
currentLen =
|
||||
QDF_MIN(totalIeLen, IW_CUSTOM_MAX - (strLen + 1) - 1);
|
||||
qdf_mem_copy(&buff[strLen + 1], pBeaconIes + currentOffset,
|
||||
qdf_mem_copy(&buff[strLen + 1], beacon_ies + currentOffset,
|
||||
currentLen);
|
||||
currentOffset += currentLen;
|
||||
totalIeLen -= currentLen;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador