Browse Source

qcacld-3.0: Remove redundant wake-up reason code(int) logging

WoW wake-up reason code(string) is already logged and in some
cases wake-up reason code(int) is not populated by firmware
hence remove the redundant wake-up reason integer logging.

Change-Id: Ie8b21965bc9e56bcfe53a80893419a81bd0bed8c
CRs-fixed: 2619212
Rajeev Kumar 5 years ago
parent
commit
e7bae1ec80
1 changed files with 2 additions and 3 deletions
  1. 2 3
      core/wma/src/wma_features.c

+ 2 - 3
core/wma/src/wma_features.c

@@ -2443,9 +2443,8 @@ static int wma_wake_event_packet(
 		break;
 
 	default:
-		WMA_LOGE("Wake reason %s(%u) is not a packet event",
-			 wma_wow_wake_reason_str(wake_info->wake_reason),
-			 wake_info->wake_reason);
+		WMA_LOGE("Wake reason %s is not a packet event",
+			 wma_wow_wake_reason_str(wake_info->wake_reason));
 		return -EINVAL;
 	}