mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Replace hdd_log() in core/hdd/src/wlan_hdd_tdls.c
In qcacld-3.0 HDD has converged on a core set of service level logging APIs. However there are instances in wlan_hdd_tdls.c of the hdd_log() helper API being called directly instead of using the service level APIs. Replace those instances. Change-Id: I02569a6d7f876d47232eea5a37312896d4e06617 CRs-Fixed: 1058338
This commit is contained in:
parent
b7b214014a
commit
e1c143e852
1 changed files with 9 additions and 11 deletions
|
|
@ -5084,22 +5084,20 @@ int hdd_set_tdls_offchannelmode(hdd_adapter_t *adapter, int offchanmode)
|
|||
qdf_mem_copy(&chan_switch_params.peer_mac_addr,
|
||||
&conn_peer->peerMac,
|
||||
sizeof(tSirMacAddr));
|
||||
hdd_log(LOG1,
|
||||
FL("Peer " MAC_ADDRESS_STR
|
||||
" vdevId: %d, off channel: %d, offset: %d, mode: %d, is_responder: %d"),
|
||||
MAC_ADDR_ARRAY(chan_switch_params.peer_mac_addr),
|
||||
chan_switch_params.vdev_id,
|
||||
chan_switch_params.tdls_off_channel,
|
||||
chan_switch_params.tdls_off_ch_bw_offset,
|
||||
chan_switch_params.tdls_off_ch_mode,
|
||||
chan_switch_params.is_responder);
|
||||
hdd_info("Peer " MAC_ADDRESS_STR
|
||||
" vdevId: %d, off channel: %d, offset: %d, mode: %d, is_responder: %d",
|
||||
MAC_ADDR_ARRAY(chan_switch_params.peer_mac_addr),
|
||||
chan_switch_params.vdev_id,
|
||||
chan_switch_params.tdls_off_channel,
|
||||
chan_switch_params.tdls_off_ch_bw_offset,
|
||||
chan_switch_params.tdls_off_ch_mode,
|
||||
chan_switch_params.is_responder);
|
||||
|
||||
status = sme_send_tdls_chan_switch_req(WLAN_HDD_GET_HAL_CTX(adapter),
|
||||
&chan_switch_params);
|
||||
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
hdd_log(LOG1,
|
||||
FL("Failed to send channel switch request to sme"));
|
||||
hdd_err("Failed to send channel switch request to sme");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue