mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacmn: Add API to get country ISO
API is added to get country ISO from regDB component. Change-Id: I264fa4ffaa87127895613ab397efbb416c440f75 CRs-Fixed: 2002892
This commit is contained in:
parent
08fd8610b3
commit
dedc15dc74
1 changed files with 3 additions and 0 deletions
|
|
@ -2184,6 +2184,9 @@ QDF_STATUS reg_get_current_cc(struct wlan_objmgr_psoc *psoc,
|
|||
|
||||
if (rd->flags == CC_IS_SET) {
|
||||
rd->cc.country_code = soc_reg->ctry_code;
|
||||
} else if (rd->flags == ALPHA_IS_SET) {
|
||||
qdf_mem_copy(rd->cc.alpha, soc_reg->current_country,
|
||||
sizeof(rd->cc.alpha));
|
||||
}
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue