From c79c9f3011618ab62b651bbe391d46bbaa2b8a5e Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Tue, 14 Feb 2023 13:04:02 +0000 Subject: [PATCH] Fix Kconfig CONFIG_CFG80211 dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This kernel module depends on CONFIG_CFG80211 without which build fails similarly to: error: ‘struct net_device’ has no member named ‘ieee80211_ptr’ This was introduced in upstream from 5.19: commit c304eddcecfe2513ff98ce3ae97d1c196d82ba08 Author: Jakub Kicinski Date: Thu May 19 13:20:54 2022 -0700 net: wrap the wireless pointers in struct net_device in an ifdef Signed-off-by: Andrei Gherzan --- Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index f87653d..9e8529e 100755 --- a/Kconfig +++ b/Kconfig @@ -1,6 +1,6 @@ config RTL8812AU tristate "Realtek 8812A USB WiFi" - depends on USB + depends on USB && CFG80211 ---help--- Help message of RTL8812AU