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
This commit is contained in:
DARAM SUDHA 2015-05-29 11:38:47 +05:30 • committed by Prakash Dhavali
commit d11e84cc72

View file

@ -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);