From: Michael Benedict Date: Thu, 12 Sep 2019 14:51:34 +0000 (+1000) Subject: bcmdhd4361: fake platform version X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba90ce5490a66f734e05f45fb81db4da13824ca0;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git bcmdhd4361: fake platform version Signed-off-by: Michael Benedict --- diff --git a/drivers/net/wireless/bcmdhd4361/Makefile b/drivers/net/wireless/bcmdhd4361/Makefile index 3953b192ac8f..a89c70c55d72 100644 --- a/drivers/net/wireless/bcmdhd4361/Makefile +++ b/drivers/net/wireless/bcmdhd4361/Makefile @@ -312,15 +312,7 @@ endif DHDCFLAGS += -DBCMCRYPTO_COMPONENT # Android Version Check from Platform source -ifneq ($(ANDROID_VERSION),) -MAJOR_VERSION := $(shell echo $(ANDROID_VERSION) | rev | cut -c 5- | rev) -DHDCFLAGS += -DANDROID_PLATFORM_VERSION=$(MAJOR_VERSION) -else -ifneq ($(PLATFORM_VERSION),) -MAJOR_VERSION := $(shell echo $(PLATFORM_VERSION) | cut -d "." -f 1) -DHDCFLAGS += -DANDROID_PLATFORM_VERSION=$(MAJOR_VERSION) -endif -endif +DHDCFLAGS += -DANDROID_PLATFORM_VERSION=9 # TCP SYNC flood attack block DHDCFLAGS += -DDHDTCPSYNC_FLOOD_BLK -DTCP_SYNC_FLOOD_LIMIT=50