From 53eb6ff8ddc9060128583ba0820dd6ccdb28e569 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Wed, 27 Oct 2021 11:12:04 -0700 Subject: [PATCH] qcacld-3.0: Change PAGE_FAULT log string to PF As requested by OEM, change PAGE_FAULT log string to PF so as not to confuse it for a critical problem for OEM. Change-Id: I4057513670b348dd772b42777b5623722eeafc45 CRs-Fixed: 3064527 --- core/wma/src/wma_features.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index cbd89c8a28..7844bfc759 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -1621,7 +1622,7 @@ static const uint8_t *wma_wow_wake_reason_str(A_INT32 wake_reason) return "MOTION_DETECT_BASELINE"; #endif /* WLAN_FEATURE_MOTION_DETECTION */ case WOW_REASON_PAGE_FAULT: - return "PAGE_FAULT"; + return "PF"; case WOW_REASON_ROAM_PMKID_REQUEST: return "ROAM_PMKID_REQUEST"; case WOW_REASON_VDEV_DISCONNECT: @@ -2601,7 +2602,7 @@ static int wma_wake_event_packet( * dump event buffer which contains more info regarding * current page fault. */ - wma_info("PAGE_FAULT occurs during suspend: packet_len %u", + wma_info("PF occurs during suspend: packet_len %u", packet_len); qdf_trace_hex_dump(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_INFO, packet, packet_len);