qcacld-3.0: Rename pHddStaCtx
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddStaCtx to align with the Coding
Style.
Change-Id: I508816b354eb592305cb238f7604ef39586c19b2
CRs-Fixed: 2121162
diff --git a/core/hdd/src/wlan_hdd_ocb.c b/core/hdd/src/wlan_hdd_ocb.c
index 8d7a8ec..d3551e3 100644
--- a/core/hdd/src/wlan_hdd_ocb.c
+++ b/core/hdd/src/wlan_hdd_ocb.c
@@ -233,7 +233,7 @@
QDF_STATUS qdf_status = QDF_STATUS_E_FAILURE;
struct ol_txrx_desc_type sta_desc = {0};
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
- struct hdd_station_ctx *pHddStaCtx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
+ struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter);
uint8_t peer_id;
struct ol_txrx_ops txrx_ops;
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
@@ -269,13 +269,13 @@
return -EINVAL;
}
- if (pHddStaCtx->conn_info.staId[0] != HDD_WLAN_INVALID_STA_ID &&
- pHddStaCtx->conn_info.staId[0] != peer_id) {
+ if (sta_ctx->conn_info.staId[0] != HDD_WLAN_INVALID_STA_ID &&
+ sta_ctx->conn_info.staId[0] != peer_id) {
hdd_err("The ID for the OCB station has changed.");
}
- pHddStaCtx->conn_info.staId[0] = peer_id;
- qdf_copy_macaddr(&pHddStaCtx->conn_info.peerMacAddress[0],
+ sta_ctx->conn_info.staId[0] = peer_id;
+ qdf_copy_macaddr(&sta_ctx->conn_info.peerMacAddress[0],
&adapter->macAddressCurrent);
return 0;