瀏覽代碼

ath9k: enable dfs for mesh mode

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Chun-Yeow Yeoh 11 年之前
父節點
當前提交
997b179ba3
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drivers/net/wireless/ath/ath9k/init.c

+ 3 - 0
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[] = {
 static const struct ieee80211_iface_limit if_dfs_limits[] = {
 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_AP) |
 	{ .max = 1,	.types = BIT(NL80211_IFTYPE_AP) |
+#ifdef CONFIG_MAC80211_MESH
+				 BIT(NL80211_IFTYPE_MESH_POINT) |
+#endif
 				 BIT(NL80211_IFTYPE_ADHOC) },
 				 BIT(NL80211_IFTYPE_ADHOC) },
 };
 };