qcacld-3.0: Rename pHddApCtx
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddApCtx to align with the Coding
Style.
Change-Id: I9c209be206d9e453ec2c5adc7803126639d06b84
CRs-Fixed: 2121131
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c
index 0af5a6f..0c329f6 100644
--- a/core/hdd/src/wlan_hdd_softap_tx_rx.c
+++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c
@@ -284,7 +284,7 @@
{
sme_ac_enum_type ac = SME_AC_BE;
struct hdd_adapter *adapter = (struct hdd_adapter *) netdev_priv(dev);
- struct hdd_ap_ctx *pHddApCtx = WLAN_HDD_GET_AP_CTX_PTR(adapter);
+ struct hdd_ap_ctx *ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter);
struct qdf_mac_addr *pDestMacAddress;
uint8_t STAId;
uint32_t num_seg;
@@ -308,7 +308,7 @@
* SAP starts Tx only after the BSS START is
* done.
*/
- if (pHddApCtx->dfs_cac_block_tx)
+ if (ap_ctx->dfs_cac_block_tx)
goto drop_pkt;
/*
@@ -331,7 +331,7 @@
* starting phase. SAP will return the station ID
* used for BC/MC traffic.
*/
- STAId = pHddApCtx->uBCStaId;
+ STAId = ap_ctx->uBCStaId;
} else {
if (QDF_STATUS_SUCCESS !=
hdd_softap_get_sta_id(adapter,
@@ -1013,12 +1013,12 @@
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
struct qdf_mac_addr broadcastMacAddr =
QDF_MAC_ADDR_BROADCAST_INITIALIZER;
- struct hdd_ap_ctx *pHddApCtx;
+ struct hdd_ap_ctx *ap_ctx;
- pHddApCtx = WLAN_HDD_GET_AP_CTX_PTR(adapter);
+ ap_ctx = WLAN_HDD_GET_AP_CTX_PTR(adapter);
hdd_ctx->sta_to_adapter[WLAN_RX_BCMC_STA_ID] = adapter;
- hdd_ctx->sta_to_adapter[pHddApCtx->uBCStaId] = adapter;
+ hdd_ctx->sta_to_adapter[ap_ctx->uBCStaId] = adapter;
qdf_status =
hdd_softap_register_sta(adapter, false, fPrivacyBit,
(WLAN_HDD_GET_AP_CTX_PTR(adapter))->