diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-09-28 18:02:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-09-28 18:02:28 +0000 |
commit | 028dc65e7bba4e0d1ea6c1ea83e508248f91434a (patch) | |
tree | f13c4fafbaca67a053fe884dee4c00209e8410b2 | |
parent | 7d72af94916ad9834e1e03cf4a9140202db99982 (diff) | |
parent | 6d476be900ba3e3234398012a740c8f5d4161624 (diff) | |
download | wlan-028dc65e7bba4e0d1ea6c1ea83e508248f91434a.tar.gz |
Merge "Don't depend on String8 cast to C string" into main
-rw-r--r-- | bcmdhd/wifi_hal/rtt.cpp | 2 |
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 */ |