From e1c143e852bb499b8b4919954b85bdf444259127 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 23 Aug 2016 13:09:03 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_tdls.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c index 915cbafb6e9a..509ddd03bf8c 100644 --- a/core/hdd/src/wlan_hdd_tdls.c +++ b/core/hdd/src/wlan_hdd_tdls.c @@ -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; }