浏览代码

qcacld-3.0: Append secondary wlan number to LOCAL_MOD_NAME

For dual wlan chip, local module name will be same once TARGET_MULTI_WLAN
is set to true. For example, for dual HST, two wlan driver modules will
be created. If TARGET_MULTI_WLAN is true, two modules qca6390 will be
created.

So append number to secondary module. One is qca6390, the other is
qca6390_2.

Change-Id: Icbf51e278ced30b90ce4c726ba812d15b7aee7a2
CRs-Fixed: 3578003
Yu Ouyang 1 年之前
父节点
当前提交
4bf8ee08e7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Android.mk

+ 2 - 1
Android.mk

@@ -207,7 +207,8 @@ LOCAL_MOD_NAME := $(LOCAL_DEV_NAME)
 endif
 
 ifeq ($(TARGET_SECONDARY_WLAN), true)
-LOCAL_MOD_NAME := $(LOCAL_CHIP_NAME)
+TARGET_SECONDARY_WLAN_NUMBER := 2
+LOCAL_MOD_NAME := $(LOCAL_CHIP_NAME)_$(TARGET_SECONDARY_WLAN_NUMBER)
 DYNAMIC_SINGLE_CHIP := $(LOCAL_CHIP_NAME)
 endif