diff options
author | Ikjoon Jang <ikjn@google.com> | 2024-02-11 11:20:30 +0000 |
---|---|---|
committer | Ikjoon Jang <ikjn@google.com> | 2024-02-19 02:35:57 +0000 |
commit | 6fab6978ef07bc9bba22e0d12dd702e42ba70b43 (patch) | |
tree | 1ec9808b86529e383610a815741fb14e9e79b182 | |
parent | 050f1d0cf194952e90e2813d9aa0baf99e90886b (diff) | |
download | uwb-6fab6978ef07bc9bba22e0d12dd702e42ba70b43.tar.gz |
Bugfix: reset region code on config deinit
Remembered region code should be invalidated on deinit path.
Bug: 324966526
Test: cmd uwb disable-uwb; cmd uwb enable-uwb
Change-Id: Ib06958ac9c01b34208ed1f3341e5e2053ebbebf7
-rw-r--r-- | halimpl/utils/phNxpConfig.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/halimpl/utils/phNxpConfig.cc b/halimpl/utils/phNxpConfig.cc index b10415c..c05e85b 100644 --- a/halimpl/utils/phNxpConfig.cc +++ b/halimpl/utils/phNxpConfig.cc @@ -797,6 +797,7 @@ void CascadeConfig::deinit() mCapsConfig.reset(); mRegionMap.reset(); mUciConfig.reset(); + mCurRegionCode.clear(); } bool CascadeConfig::setCountryCode(const char country_code[2]) |