summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-30 03:19:38 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-30 03:19:38 +0000
commit1a2fafc227a451c63dea1bd41ae64a139f0ae803 (patch)
tree0956b36a452c503cc8982cb9d7ced92519fa0ae6
parent494f03bbf012ddb095ef393a4b05537ef041b217 (diff)
parent6402524b9d50ad5cbb2f4644bb0137bc5e4b4a5c (diff)
downloadwlan-1a2fafc227a451c63dea1bd41ae64a139f0ae803.tar.gz
Snap for 10884074 from 6402524b9d50ad5cbb2f4644bb0137bc5e4b4a5c to 24Q1-release
Change-Id: I6d40c4376ef5c7b926a3ad5a2b1f7d375f5305c8
-rw-r--r--bcmdhd/wifi_hal/rtt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/rtt.cpp b/bcmdhd/wifi_hal/rtt.cpp
index 97cd87f..4167c4f 100644
--- a/bcmdhd/wifi_hal/rtt.cpp
+++ b/bcmdhd/wifi_hal/rtt.cpp
@@ -134,7 +134,7 @@ get_err_info(int status)
for (i = 0; i < (int) num_entries; i++)
{
if (p_entry->id == status)
- return p_entry->text;
+ return p_entry->text.c_str();
p_entry++; /* next entry */
}
return "unknown error"; /* not found */