Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
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