qcacld-3.0: Rename peerInfoParams in struct sme_context

The Linux Coding Style frowns upon mixed-case names so rename
peerInfoParams in struct sme_context to be compliant.

Change-Id: I7221fa6b7b432440d62cded556365d524b28bb14
CRs-Fixed: 2400319
This commit is contained in:
Jeff Johnson 2019-02-17 19:36:01 -08:00 • committed by nshrivas
commit e7aa5cd3b0
2 changed files with 6 additions and 4 deletions

View file

@ -259,7 +259,7 @@ struct sme_context {
void **sme_cmd_buf_addr;
tDblLinkList sme_cmd_freelist; /* preallocated roam cmd list */
enum QDF_OPMODE curr_device_mode;
struct ibss_peer_info_cb_info peerInfoParams;
struct ibss_peer_info_cb_info peer_info_cb_info;
#ifdef FEATURE_WLAN_DIAG_SUPPORT_CSR
host_event_wlan_status_payload_type eventPayload;
#endif

View file

@ -1768,7 +1768,7 @@ QDF_STATUS sme_ibss_peer_info_response_handler(struct mac_context *mac,
"%s: mac is null", __func__);
return QDF_STATUS_E_FAILURE;
}
cb_info = &mac->sme.peerInfoParams;
cb_info = &mac->sme.peer_info_cb_info;
if (!cb_info->peer_info_cb) {
QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
"%s: HDD callback is null", __func__);
@ -7649,11 +7649,13 @@ QDF_STATUS sme_request_ibss_peer_info(mac_handle_t mac_handle, void *cb_context,
struct mac_context *mac = MAC_CONTEXT(mac_handle);
struct scheduler_msg message = {0};
tSirIbssGetPeerInfoReqParams *pIbssInfoReqParams;
struct ibss_peer_info_cb_info *cb_info;
status = sme_acquire_global_lock(&mac->sme);
if (QDF_STATUS_SUCCESS == status) {
mac->sme.peerInfoParams.peer_info_cb = peer_info_cb;
mac->sme.peerInfoParams.peer_info_cb_context = cb_context;
cb_info = &mac->sme.peer_info_cb_info;
cb_info->peer_info_cb = peer_info_cb;
cb_info->peer_info_cb_context = cb_context;
pIbssInfoReqParams = (tSirIbssGetPeerInfoReqParams *)
qdf_mem_malloc(sizeof(tSirIbssGetPeerInfoReqParams));