From dfdfce1e58eba0633c8248441c16ad41a2a6784a Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Tue, 18 Feb 2020 12:34:13 +0530 Subject: [PATCH] qcacmn: Fix compilation error in vipertooth build Fix compilation error in reg_country_opclass_freq_check return false when HOST_OPCLASS is disabled. Change-Id: Ib03e544311ae0a6c3496711f303ad17d490900ba CRs-Fixed: 2624546 --- umac/regulatory/core/src/reg_opclass.h | 1 + 1 file changed, 1 insertion(+) diff --git a/umac/regulatory/core/src/reg_opclass.h b/umac/regulatory/core/src/reg_opclass.h index bbdb1bc11b89..7f5b6d163f58 100644 --- a/umac/regulatory/core/src/reg_opclass.h +++ b/umac/regulatory/core/src/reg_opclass.h @@ -296,6 +296,7 @@ reg_country_opclass_freq_check(struct wlan_objmgr_pdev *pdev, uint8_t op_class, uint16_t chan_freq) { + return false; } #endif