From 089d043fb83c9c1a0bc827869788ce04da0f7ffc Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Mon, 2 Oct 2017 13:27:21 -0700 Subject: [PATCH] qcacld-3.0: Rename pAdapter in wlan_hdd_ipa.c The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename pAdapter to align with the Coding Style. Change-Id: I846cf0b6effcfacce22ce122bf73064a230a05c1 CRs-Fixed: 2119853 --- core/hdd/src/wlan_hdd_ipa.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index a97e2c6fb625..73a32043090d 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/core/hdd/src/wlan_hdd_ipa.c @@ -4760,7 +4760,7 @@ static int __hdd_ipa_send_mcc_scc_msg(struct hdd_context *hdd_ctx, bool mcc_mode { hdd_adapter_list_node_t *adapter_node = NULL, *next = NULL; QDF_STATUS status; - struct hdd_adapter *pAdapter; + struct hdd_adapter *adapter; struct ipa_msg_meta meta; struct ipa_wlan_msg *msg; int ret; @@ -4775,12 +4775,12 @@ static int __hdd_ipa_send_mcc_scc_msg(struct hdd_context *hdd_ctx, bool mcc_mode /* Flush TxRx queue for each adapter before switch to SCC */ status = hdd_get_front_adapter(hdd_ctx, &adapter_node); while (NULL != adapter_node && QDF_STATUS_SUCCESS == status) { - pAdapter = adapter_node->adapter; - if (pAdapter->device_mode == QDF_STA_MODE || - pAdapter->device_mode == QDF_SAP_MODE) { + adapter = adapter_node->adapter; + if (adapter->device_mode == QDF_STA_MODE || + adapter->device_mode == QDF_SAP_MODE) { hdd_debug("MCC->SCC: Flush TxRx queue(d_mode=%d)", - pAdapter->device_mode); - hdd_deinit_tx_rx(pAdapter); + adapter->device_mode); + hdd_deinit_tx_rx(adapter); } status = hdd_get_next_adapter( hdd_ctx, adapter_node, &next);