From: Chun-Yeow Yeoh Date: Wed, 4 Dec 2013 10:46:54 +0000 (+0800) Subject: ath9k: enable dfs for mesh mode X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=997b179ba3d4da8a25d28cf4f1de8962a32e588a;p=linux-beck.git ath9k: enable dfs for mesh mode Signed-off-by: Chun-Yeow Yeoh Signed-off-by: John W. Linville --- 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) }, };