qcacld-3.0: Disable LFR3.0 for SDX20
Since wifi chip do not supprot LFR3.0 on SDX20, disable LFR3.0
feature in Kbuild, and fix a compilation error.
CRs-Fixed: 2009403
Change-Id: I16eb3bd68d5564801be9cbcf9db1386cb0e3953b
diff --git a/Kbuild b/Kbuild
index a8eb85b..3e77f40 100644
--- a/Kbuild
+++ b/Kbuild
@@ -72,7 +72,9 @@
#Flag to enable Legacy Fast Roaming2(LFR2)
CONFIG_QCACLD_WLAN_LFR2 := y
#Flag to enable Legacy Fast Roaming3(LFR3)
+ ifneq ($(CONFIG_ARCH_SDXHEDGEHOG), y)
CONFIG_QCACLD_WLAN_LFR3 := y
+ endif
# JB kernel has CPU enablement patches, so enable
ifeq ($(CONFIG_ROME_IF),pci)