009-remove_mac80211_module_dependence.patch 634 B

123456789101112131415161718192021222324
  1. --- a/config.mk
  2. +++ b/config.mk
  3. @@ -42,21 +42,6 @@ $(error "ERROR: Your 2.6.27 kernel has C
  4. endif
  5. endif
  6. -# This is because with CONFIG_MAC80211 include/linux/skbuff.h will
  7. -# enable on 2.6.27 a new attribute:
  8. -#
  9. -# skb->do_not_encrypt
  10. -#
  11. -# and on 2.6.28 another new attribute:
  12. -#
  13. -# skb->requeue
  14. -#
  15. -ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 27 && echo yes),yes)
  16. -ifeq ($(CONFIG_MAC80211),)
  17. -$(error "ERROR: Your >=2.6.27 kernel has CONFIG_MAC80211 disabled, you should have it CONFIG_MAC80211=m if you want to use this thing.")
  18. -endif
  19. -endif
  20. -
  21. ifneq ($(KERNELRELEASE),) # This prevents a warning
  22. ifeq ($(CONFIG_NET_SCHED),)