qcacld-3.0: Rename pHddCtx in wlan_hdd_wowl.c

The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I8df41b44d56dcc6365e7ae634de02f2273f2fc75
CRs-Fixed: 2103670
This commit is contained in:
Jeff Johnson
2017-09-03 09:31:34 -07:00
committed by snandini
szülő e9fb1287a0
commit 2db2614716

Fájl megtekintése

@@ -109,7 +109,7 @@ bool hdd_add_wowl_ptrn(struct hdd_adapter *pAdapter, const char *ptrn)
const char *temp;
tHalHandle hHal = WLAN_HDD_GET_HAL_CTX(pAdapter);
uint8_t sessionId = pAdapter->sessionId;
struct hdd_context *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(pAdapter);
len = find_ptrn_len(ptrn);
@@ -119,7 +119,7 @@ bool hdd_add_wowl_ptrn(struct hdd_adapter *pAdapter, const char *ptrn)
*/
while (len >= 11) {
/* Detect duplicate pattern */
for (i = 0; i < pHddCtx->config->maxWoWFilters; i++) {
for (i = 0; i < hdd_ctx->config->maxWoWFilters; i++) {
if (g_hdd_wowl_ptrns[i] == NULL)
continue;
@@ -136,7 +136,7 @@ bool hdd_add_wowl_ptrn(struct hdd_adapter *pAdapter, const char *ptrn)
first_empty_slot = -1;
/* Find an empty slot to store the pattern */
for (i = 0; i < pHddCtx->config->maxWoWFilters; i++) {
for (i = 0; i < hdd_ctx->config->maxWoWFilters; i++) {
if (g_hdd_wowl_ptrns[i] == NULL) {
first_empty_slot = i;
break;
@@ -269,11 +269,11 @@ bool hdd_del_wowl_ptrn(struct hdd_adapter *pAdapter, const char *ptrn)
bool patternFound = false;
QDF_STATUS qdf_ret_status;
uint8_t sessionId = pAdapter->sessionId;
struct hdd_context *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(pAdapter);
/* Detect pattern */
for (id = 0;
id < pHddCtx->config->maxWoWFilters
id < hdd_ctx->config->maxWoWFilters
&& g_hdd_wowl_ptrns[id] != NULL; id++) {
if (!strcmp(ptrn, g_hdd_wowl_ptrns[id])) {
patternFound = true;