From d02ac5aeb91aff275d43e830becd2989e96750ef Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Fri, 20 Dec 2019 12:31:20 +0530 Subject: [PATCH] qcacmn: Add legacy code CTRY_JAPAN15 to regdb Currently CTRY_JAPAN15 is not there in host regulatory database and it is still in use. If CTRY_JAPAN15 is set from BDF, driver load will fail as this country is not present in host driver database. To address this issue add CTRY_JAPAN15 to regdb. Change-Id: I031b766ac34d57193ded4856b1396306cd5bb76d CRs-Fixed: 2590635 --- umac/regulatory/core/src/reg_db.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umac/regulatory/core/src/reg_db.c b/umac/regulatory/core/src/reg_db.c index 52fd2a1e059f..f81e5408b31a 100644 --- a/umac/regulatory/core/src/reg_db.c +++ b/umac/regulatory/core/src/reg_db.c @@ -721,6 +721,7 @@ const struct country_code_to_reg_domain g_all_countries[] = { {CTRY_YEMEN, NULL1_WORLD, "YE", 40, 0, 0}, {CTRY_ZIMBABWE, ETSI1_WORLD, "ZW", 40, 160, 0}, {CTRY_JAPAN, MKK5_MKKC, "JP", 40, 160, 0}, + {CTRY_JAPAN15, MKK5_MKKC, "JP", 40, 160, 0}, {CTRY_XA, MKK5_MKKA, "XA", 40, 160, 0}, }; #else @@ -924,6 +925,7 @@ const struct country_code_to_reg_domain g_all_countries[] = { {CTRY_YEMEN, NULL1_WORLD, "YE", 40, 0, 0}, {CTRY_ZIMBABWE, ETSI1_WORLD, "ZW", 40, 160, 0}, {CTRY_JAPAN, MKK5_MKKC, "JP", 40, 160, 0}, + {CTRY_JAPAN15, MKK5_MKKC, "JP", 40, 160, 0}, {CTRY_XA, MKK5_MKKA, "XA", 40, 160, 0}, }; #endif