ath10k-ct: Enable DFS when "Enable DFS support" is set for kmod-ath

This allows users of this package to configure DFS channels.
It mimics the behaviour of the ath10k module included in
package mac80211

Signed-off-by: Andy Strohman <andrew@andrewstrohman.com>
This commit is contained in:
Andy Strohman 2016-12-18 11:06:06 -08:00 committed by Felix Fietkau
parent 4344eb62bf
commit 7acb7dc3db

View file

@ -61,6 +61,10 @@ ifdef CONFIG_PACKAGE_ATH_DEBUG
NOSTDINC_FLAGS += -DCONFIG_ATH10K_DEBUG
endif
ifdef CONFIG_PACKAGE_ATH_DFS
NOSTDINC_FLAGS += -DCONFIG_ATH10K_DFS_CERTIFIED
endif
define Build/Configure
cp $(STAGING_DIR)/usr/include/mac80211/ath/*.h $(PKG_BUILD_DIR)
endef