Browse Source

qcacld-3.0: Override WLAN_PROFILE to default only if it is unset

Currently WLAN_PROFILE is overridden to default in all cases.
In many targets, defconfig other than default_defconfig needs
to be picked, so set WLAN_PROFILE to default only if it is not
set before.

Change-Id: Ia9a5ad7c9eedd56be59418371867107258e65ea0
CRs-Fixed: 2818090
Surabhi Vishnoi 4 years ago
parent
commit
d8ef47432e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Android.mk

+ 2 - 0
Android.mk

@@ -68,7 +68,9 @@ include $(foreach chip, $(TARGET_WLAN_CHIP), $(LOCAL_PATH)/.$(chip)/Android.mk)
 
 else # Multi-ok check
 
+ifeq ($(WLAN_PROFILE),)
 WLAN_PROFILE := default
+endif
 
 ifeq ($(LOCAL_DEV_NAME), qcacld-3.0)