mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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:
parent
56ba88aeb5
commit
e7aa5cd3b0
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue