From 9c500fb8540351dc10516343c2bae99f4fa122cb Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Mon, 10 Nov 2008 14:35:11 -0800 Subject: [PATCH] Complain and exit out if CONFIG_MAC80211=y Signed-off-by: Luis R. Rodriguez --- config.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.mk b/config.mk index c198ac2c8654..f2be5118e6b4 100644 --- a/config.mk +++ b/config.mk @@ -13,6 +13,9 @@ else include $(KLIB_BUILD)/.config endif +ifeq ($(CONFIG_MAC80211),y) +$(error "ERROR: you have MAC80211 compiled into the kernel, CONFIG_MAC80211=y, as such you cannot replace its mac80211 driver. You need this set to CONFIG_MAC80211=m. If you are using Fedora upgrade your kernel as later version should this set as modular. For further information on Fedora see https://bugzilla.redhat.com/show_bug.cgi?id=470143. If you are using your own kernel recompile it and make mac80211 modular") +endif # Wireless subsystem stuff CONFIG_MAC80211=m -- 2.30.2