]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ath9k: enable dfs for mesh mode
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Wed, 4 Dec 2013 10:46:54 +0000 (18:46 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:37:54 +0000 (15:37 -0500)
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c

index 8f4c1674b76e2a2f1c301d9e3796a4d3ffea1906..5a0b7e82c85fc325cd89382aed88cf78006fe070 100644 (file)
@@ -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) },
 };