summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>2013-12-04 11:46:54 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-09 21:37:54 +0100
commit997b179ba3d4da8a25d28cf4f1de8962a32e588a (patch)
tree0ee1469fa9d8881d147cb4debbb1ce02af6c0886
parentmwifiex: do not flood kmsg/dmesg with USB debug messages (diff)
downloadlinux-997b179ba3d4da8a25d28cf4f1de8962a32e588a.tar.xz
linux-997b179ba3d4da8a25d28cf4f1de8962a32e588a.zip
ath9k: enable dfs for mesh mode
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 8f4c1674b76e..5a0b7e82c85f 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -856,6 +856,9 @@ static const struct ieee80211_iface_limit if_limits[] = {
static const struct ieee80211_iface_limit if_dfs_limits[] = {
{ .max = 1, .types = BIT(NL80211_IFTYPE_AP) |
+#ifdef CONFIG_MAC80211_MESH
+ BIT(NL80211_IFTYPE_MESH_POINT) |
+#endif
BIT(NL80211_IFTYPE_ADHOC) },
};