From d11e84cc72cf759dd32876aa6064b655b1f1bbe8 Mon Sep 17 00:00:00 2001 From: DARAM SUDHA Date: Fri, 29 May 2015 11:38:47 +0530 Subject: [PATCH] qcacld-3.0: Print signature on kernel logs when user triggers SSR by iwpriv qcacld-2.0 to qcacld-3.0 propagation Currently driver logs are routed as messages to CNSS_DIAG so the Kernel does not print them into the Kernel log. Add a debug print to display in kernel log when ever the SSR is triggered using iwpriv. In dog-food testing, this print would help to separate out the user-triggered SSR scenarios. Change-Id: I58f247a26e802bced0c226ee92052ca0d69e1554 CRs-Fixed: 844938 --- core/hdd/src/wlan_hdd_wext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 6f7a9ace6efd..4e68ecb6c9bd 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -9424,6 +9424,8 @@ static int __iw_set_two_ints_getnone(struct net_device *dev, case WE_SET_FW_CRASH_INJECT: hddLog(LOGE, "WE_SET_FW_CRASH_INJECT: %d %d", value[1], value[2]); + pr_err("SSR is triggered by iwpriv CRASH_INJECT: %d %d\n", + value[1], value[2]); ret = wma_cli_set2_command(pAdapter->sessionId, GEN_PARAM_CRASH_INJECT, value[1], value[2], GEN_CMD);