qcacld-3.0: Rename HDD identifier pContext
The Linux Coding Style frowns upon mixed-case names and so-called Hungarian notation, so rename HDD identifier pContext to be compliant. Change-Id: I1fe6d309d9b29703ca9f643cc0a8200fc4964fc2 CRs-Fixed: 2412966
This commit is contained in:
@@ -288,7 +288,7 @@ void hdd_abort_ongoing_sta_connection(struct hdd_context *hdd_ctx);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_sme_roam_callback() - hdd sme roam callback
|
* hdd_sme_roam_callback() - hdd sme roam callback
|
||||||
* @pContext: pointer to adapter context
|
* @context: pointer to adapter context
|
||||||
* @roam_info: pointer to roam info
|
* @roam_info: pointer to roam info
|
||||||
* @roam_id: roam id
|
* @roam_id: roam id
|
||||||
* @roam_status: roam status
|
* @roam_status: roam status
|
||||||
@@ -296,7 +296,7 @@ void hdd_abort_ongoing_sta_connection(struct hdd_context *hdd_ctx);
|
|||||||
*
|
*
|
||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS hdd_sme_roam_callback(void *pContext,
|
QDF_STATUS hdd_sme_roam_callback(void *context,
|
||||||
struct csr_roam_info *roam_info,
|
struct csr_roam_info *roam_info,
|
||||||
uint32_t roam_id,
|
uint32_t roam_id,
|
||||||
eRoamCmdStatus roam_status,
|
eRoamCmdStatus roam_status,
|
||||||
|
@@ -4629,7 +4629,7 @@ static void hdd_roam_channel_switch_handler(struct hdd_adapter *adapter,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* hdd_sme_roam_callback() - hdd sme roam callback
|
* hdd_sme_roam_callback() - hdd sme roam callback
|
||||||
* @pContext: pointer to adapter context
|
* @context: pointer to adapter context
|
||||||
* @roam_info: pointer to roam info
|
* @roam_info: pointer to roam info
|
||||||
* @roam_id: roam id
|
* @roam_id: roam id
|
||||||
* @roam_status: roam status
|
* @roam_status: roam status
|
||||||
@@ -4638,18 +4638,18 @@ static void hdd_roam_channel_switch_handler(struct hdd_adapter *adapter,
|
|||||||
* Return: QDF_STATUS enumeration
|
* Return: QDF_STATUS enumeration
|
||||||
*/
|
*/
|
||||||
QDF_STATUS
|
QDF_STATUS
|
||||||
hdd_sme_roam_callback(void *pContext, struct csr_roam_info *roam_info,
|
hdd_sme_roam_callback(void *context, struct csr_roam_info *roam_info,
|
||||||
uint32_t roam_id,
|
uint32_t roam_id,
|
||||||
eRoamCmdStatus roam_status, eCsrRoamResult roam_result)
|
eRoamCmdStatus roam_status, eCsrRoamResult roam_result)
|
||||||
{
|
{
|
||||||
QDF_STATUS qdf_ret_status = QDF_STATUS_SUCCESS;
|
QDF_STATUS qdf_ret_status = QDF_STATUS_SUCCESS;
|
||||||
struct hdd_adapter *adapter = (struct hdd_adapter *) pContext;
|
struct hdd_adapter *adapter = context;
|
||||||
struct hdd_station_ctx *sta_ctx = NULL;
|
struct hdd_station_ctx *sta_ctx = NULL;
|
||||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||||
struct cfg80211_bss *bss_status;
|
struct cfg80211_bss *bss_status;
|
||||||
struct hdd_context *hdd_ctx;
|
struct hdd_context *hdd_ctx;
|
||||||
|
|
||||||
hdd_debug("CSR Callback: status= %d result= %d roamID=%d",
|
hdd_debug("CSR Callback: status=%d result=%d roamID=%d",
|
||||||
roam_status, roam_result, roam_id);
|
roam_status, roam_result, roam_id);
|
||||||
|
|
||||||
/* Sanity check */
|
/* Sanity check */
|
||||||
|
@@ -6016,7 +6016,7 @@ static void hdd_get_station_statistics_cb(void *stats, void *context)
|
|||||||
struct csr_per_chain_rssi_stats_info *per_chain_rssi_stats;
|
struct csr_per_chain_rssi_stats_info *per_chain_rssi_stats;
|
||||||
|
|
||||||
if ((NULL == stats) || (NULL == context)) {
|
if ((NULL == stats) || (NULL == context)) {
|
||||||
hdd_err("Bad param, pStats [%pK] pContext [%pK]",
|
hdd_err("Bad param, stats [%pK] context [%pK]",
|
||||||
stats, context);
|
stats, context);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user