summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-09-28 18:02:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-09-28 18:02:28 +0000
commit028dc65e7bba4e0d1ea6c1ea83e508248f91434a (patch)
treef13c4fafbaca67a053fe884dee4c00209e8410b2
parent7d72af94916ad9834e1e03cf4a9140202db99982 (diff)
parent6d476be900ba3e3234398012a740c8f5d4161624 (diff)
downloadwlan-028dc65e7bba4e0d1ea6c1ea83e508248f91434a.tar.gz
Merge "Don't depend on String8 cast to C string" into main
-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 603caf3..ae9309e 100644
--- a/bcmdhd/wifi_hal/rtt.cpp
+++ b/bcmdhd/wifi_hal/rtt.cpp
@@ -131,7 +131,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 */