qcacmn: Add API to get country ISO

API is added to get country ISO from regDB component.

Change-Id: I264fa4ffaa87127895613ab397efbb416c440f75
CRs-Fixed: 2002892
このコミットが含まれているのは:
Baila, Shashikala Prabhu
2017-05-05 09:06:14 +05:30
コミット dedc15dc74

ファイルの表示

@@ -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;