diff options
| author | Srinivas Girigowda <sgirigow@codeaurora.org> | 2017-04-06 19:03:20 -0700 |
|---|---|---|
| committer | Sandeep Puligilla <spuligil@codeaurora.org> | 2017-04-06 21:33:13 -0700 |
| commit | 2d223bebe90d946ad99d7ca283d587ac675368a5 (patch) | |
| tree | 28dfdedd723468104e8fdf6f5e5300837b301450 | |
| parent | 165c209f400d91eaa5a6ff52de8c0c1a64beb757 (diff) | |
qcacld-3.0: Change log level to info to print disconnect reason from UI
If the disconnect is triggered from the user space then print those
logs in kmsg.
Change the log level from hdd_debug() to hdd_info().
Change-Id: I72839e33a69e7bdf07471cbfe7f6f9b6144ace90
CRs-Fixed: 2014745
| -rw-r--r-- | core/hdd/src/wlan_hdd_cfg80211.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 2889262e7193..cbed6f9ca237 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -14556,8 +14556,6 @@ static int __wlan_hdd_cfg80211_disconnect(struct wiphy *wiphy, reasonCode = eCSR_DISCONNECT_REASON_UNSPECIFIED; break; } - hdd_debug("convert to internal reason %d to reasonCode %d", - reason, reasonCode); pScanInfo = &pAdapter->scan_info; if (pScanInfo->mScanPending) { hdd_debug("Disconnect is in progress, Aborting Scan"); @@ -14586,10 +14584,8 @@ static int __wlan_hdd_cfg80211_disconnect(struct wiphy *wiphy, } } #endif - hdd_debug("Disconnecting with reasoncode:%u", - reasonCode); - hdd_debug("Disconnect request from user space with reason: %s", - hdd_ieee80211_reason_code_to_str(reason)); + hdd_info("Disconnect request from user space with reason: %d (%s) internal reason code: %d", + reason, hdd_ieee80211_reason_code_to_str(reason), reasonCode); status = wlan_hdd_disconnect(pAdapter, reasonCode); if (0 != status) { hdd_err("wlan_hdd_disconnect failed, status: %d", status); |
