From 74110d079bea4fc3d24de9c64dfbd798446e7210 Mon Sep 17 00:00:00 2001 From: Agarawal Ashish Date: Wed, 27 Jul 2016 23:56:08 +0530 Subject: qcacld-2.0: Correct log for sta_inactivity_timeout If a station does not send anything in sta_inactivity_timeout, an empty data frame is sent to it in order to verify whether it is still in range. If this frame is not ACKed, the station will be disassociated and then deauthenticated. Added log for failure case and debug log for success case. Change-Id: I36ac5d3cf0d8761bbff4ce4c932a9ca0b16489ef CRs-Fixed: 1047096 --- CORE/SERVICES/WMA/wma.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index 538bba22ab0e..bc2be814822f 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -30406,9 +30406,11 @@ static void wma_update_sta_inactivity_timeout(tp_wma_handle wma, vdev_id, WMI_VDEV_PARAM_AP_KEEPALIVE_MAX_UNRESPONSIVE_TIME_SECS, max_unresponsive_time)) - WMA_LOGE("%s:vdev_id:%d min_inactive_time: %u max_inactive_time: %u" - " max_unresponsive_time: %u", __func__, vdev_id, - min_inactive_time, max_inactive_time, max_unresponsive_time); + WMA_LOGE("Failed to Set MAX UNRESPONSIVE TIME"); + + WMA_LOGD("%s:vdev_id:%d min_inactive_time: %u max_inactive_time: %u" + " max_unresponsive_time: %u", __func__, vdev_id, + min_inactive_time, max_inactive_time, max_unresponsive_time); return; } -- cgit v1.2.3