| diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile |
| index 566cfdd7..0298600c 100644 |
| --- a/package/kernel/mac80211/Makefile |
| +++ b/package/kernel/mac80211/Makefile |
| @@ -22,6 +22,7 @@ PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz |
| PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(if $(BUILD_VARIANT),$(PKG_NAME)-$(BUILD_VARIANT)/)backports-$(PKG_VERSION) |
| PKG_BUILD_PARALLEL:=1 |
| |
| +SOURCE_PATH:=./src |
| PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name> |
| |
| PKG_DRIVERS = \ |
| @@ -80,6 +81,10 @@ config-y:= \ |
| WLAN_VENDOR_ST \ |
| WLAN_VENDOR_TI \ |
| WLAN_VENDOR_ZYDAS \ |
| + MAC80211_DEBUG_MENU \ |
| + MAC80211_MLME_DEBUG \ |
| + MAC80211_STA_DEBUG \ |
| + MAC80211_HT_DEBUG \ |
| |
| config-$(call config_package,cfg80211,$(ALL_VARIANTS)) += CFG80211 |
| config-$(CONFIG_PACKAGE_CFG80211_TESTMODE) += NL80211_TESTMODE |
| @@ -304,6 +309,7 @@ define Build/Prepare |
| rm -rf $(PKG_BUILD_DIR) |
| mkdir -p $(PKG_BUILD_DIR) |
| $(PKG_UNPACK) |
| + $(CP) $(SOURCE_PATH)/* $(PKG_BUILD_DIR) 2>/dev/null || : |
| $(Build/Patch) |
| rm -rf \ |
| $(PKG_BUILD_DIR)/include/linux/ssb \ |