wifi: after suspend wifi can`t open [1/1]
authorjiabin.chen <jiabin.chen@amlogic.com>
Mon, 23 Aug 2021 06:30:17 +0000 (14:30 +0800)
committerBruno Martins <bgcngm@gmail.com>
Thu, 25 Apr 2024 00:09:40 +0000 (01:09 +0100)
PD#OTT-20600

Problem:
close wifi and suspend system then can`t open wifi again

Solution:
fiter PCIE download FW flag

Verify:
ohm

Change-Id: I00863d5505c883555cf6ccbb0bb597a5bdde0d1c
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
bcmdhd.101.10.361.x/Makefile

index a89ede585d313c3dde751260140ea0c839263c2d..eb14a832b1578e89a2adcf5fa3ff71987595bcb3 100755 (executable)
@@ -133,6 +133,7 @@ DHDCFLAGS += -DDHD_LB -DDHD_LB_RXP -DDHD_LB_STATS -DDHD_LB_TXP
 DHDCFLAGS += -DDHD_PKTID_AUDIT_ENABLED
 DHDCFLAGS += -DINSMOD_FW_LOAD
 DHDCFLAGS += -DCONFIG_HAS_WAKELOCK
+DHDCFLAGS :=$(filter-out -DENABLE_INSMOD_NO_FW_LOAD,$(DHDCFLAGS))
 #DHDCFLAGS += -DDHD_PCIE_RUNTIMEPM -DMAX_IDLE_COUNT=11 -DCUSTOM_DHD_RUNTIME_MS=100
 ifeq ($(CONFIG_BCMDHD_OOB),y)
        DHDCFLAGS += -DCUSTOMER_OOB -DBCMPCIE_OOB_HOST_WAKE