From 92cd83692b5a5ec930c735cbee9e010d591550f5 Mon Sep 17 00:00:00 2001 From: Jun Wang Date: Fri, 27 Jul 2018 16:52:47 +0800 Subject: [PATCH] qcacld-3.0: remove time-consuming debug log print format "pS" in module will call module_address_lookup in kernel, which will disable preempt. This could result in some performance issues, like block rt task vsync_retire_work and then cause janks. Change-Id: I524b03315df7b1f6464912d2c9ce74b8dc33ea1a CRs-Fixed: 2267779 --- core/hdd/src/wlan_hdd_assoc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 145decd97e94..ab026f3b097a 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -245,9 +245,9 @@ void hdd_conn_set_connection_state(struct hdd_adapter *adapter, WLAN_HDD_GET_STATION_CTX_PTR(adapter); /* save the new connection state */ - hdd_debug("%pS Changed conn state from old:%d to new:%d for dev %s", - (void *)_RET_IP_, hdd_sta_ctx->conn_info.connState, - conn_state, adapter->dev->name); + hdd_debug("Changed conn state from old:%d to new:%d for dev %s", + hdd_sta_ctx->conn_info.connState, conn_state, + adapter->dev->name); hdd_tsf_notify_wlan_state_change(adapter, hdd_sta_ctx->conn_info.connState,