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
This commit is contained in:

committed by
Nandini Suresh

parent
fd0608595b
commit
04e00085e4
@@ -46,6 +46,7 @@
|
|||||||
#define pHddStaCtx
|
#define pHddStaCtx
|
||||||
#define pHostapdState
|
#define pHostapdState
|
||||||
#define pRoamInfo
|
#define pRoamInfo
|
||||||
|
#define pBeaconIes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include files
|
* Include files
|
||||||
|
@@ -1155,7 +1155,7 @@ hdd_send_update_beacon_ies_event(struct hdd_adapter *adapter,
|
|||||||
tCsrRoamInfo *pCsrRoamInfo)
|
tCsrRoamInfo *pCsrRoamInfo)
|
||||||
{
|
{
|
||||||
union iwreq_data wrqu;
|
union iwreq_data wrqu;
|
||||||
u8 *pBeaconIes;
|
u8 *beacon_ies;
|
||||||
u8 currentLen = 0;
|
u8 currentLen = 0;
|
||||||
char *buff;
|
char *buff;
|
||||||
int totalIeLen = 0, currentOffset = 0, strLen;
|
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");
|
hdd_debug("beacon frame length is 0");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pBeaconIes = (u8 *) (pCsrRoamInfo->pbFrames + BEACON_FRAME_IES_OFFSET);
|
beacon_ies = (u8 *) (pCsrRoamInfo->pbFrames + BEACON_FRAME_IES_OFFSET);
|
||||||
if (pBeaconIes == NULL) {
|
if (beacon_ies == NULL) {
|
||||||
hdd_warn("Beacon IEs is NULL");
|
hdd_warn("Beacon IEs is NULL");
|
||||||
return;
|
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",
|
hdd_debug("Beacon IEs is now at %02x%02x",
|
||||||
(unsigned int)pBeaconIes[0],
|
(unsigned int)beacon_ies[0],
|
||||||
(unsigned int)pBeaconIes[1]);
|
(unsigned int)beacon_ies[1]);
|
||||||
hdd_debug("Beacon IEs length = %d",
|
hdd_debug("Beacon IEs length = %d",
|
||||||
pCsrRoamInfo->nBeaconLength - BEACON_FRAME_IES_OFFSET);
|
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));
|
qdf_mem_zero(&buff[strLen + 1], IW_CUSTOM_MAX - (strLen + 1));
|
||||||
currentLen =
|
currentLen =
|
||||||
QDF_MIN(totalIeLen, IW_CUSTOM_MAX - (strLen + 1) - 1);
|
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);
|
currentLen);
|
||||||
currentOffset += currentLen;
|
currentOffset += currentLen;
|
||||||
totalIeLen -= currentLen;
|
totalIeLen -= currentLen;
|
||||||
|
Reference in New Issue
Block a user