qcacld-3.0: Make regdomain code linux style
Fix the data structures of regdomain code; to make it linux style.
Change-Id: If8123370f4ce370adba1a49636b42449c2644144
CRs-Fixed: 961806
diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c
index 6e36770..9609620 100644
--- a/core/hdd/src/wlan_hdd_regulatory.c
+++ b/core/hdd/src/wlan_hdd_regulatory.c
@@ -139,10 +139,10 @@
static const struct ieee80211_regdomain *hdd_get_world_regrules(
struct regulatory *reg)
{
- REG_DMN_PAIR_MAPPING *regpair =
- (REG_DMN_PAIR_MAPPING *)reg->regpair;
+ struct reg_dmn_pair *regpair =
+ (struct reg_dmn_pair *)reg->regpair;
- switch (regpair->regDmnEnum) {
+ switch (regpair->reg_dmn_enum) {
case 0x60:
case 0x61:
case 0x62: