From 3ab23d1cb43b2f2f1f1e4b62b17301e0d607268e Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 6 Apr 2019 08:25:09 +0200 Subject: [PATCH] fix in-kernel build path --- Makefile | 4 ++++ include/rtw_mlme.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9357705..355ec8c 100755 --- a/Makefile +++ b/Makefile @@ -168,7 +168,11 @@ CONFIG_PLATFORM_ZTE_ZX296716 = n CONFIG_DRVEXT_MODULE = n +ifeq ($(CONFIG_RTL8812AU), ) export TopDIR ?= $(shell pwd) +else +export TopDIR ?= $(shell pwd)/drivers/net/wireless/rtl8812au +endif ########### COMMON ################################# ifeq ($(CONFIG_DISABLE_REGD_C), y) diff --git a/include/rtw_mlme.h b/include/rtw_mlme.h index 114a3ec..0546f44 100644 --- a/include/rtw_mlme.h +++ b/include/rtw_mlme.h @@ -16,7 +16,7 @@ #define __RTW_MLME_H_ -#define MAX_BSS_CNT 128 +#define MAX_BSS_CNT 1024 /* #define MAX_JOIN_TIMEOUT 2000 */ /* #define MAX_JOIN_TIMEOUT 2500 */ #define MAX_JOIN_TIMEOUT 6500