From: Chun-Yeow Yeoh Date: Wed, 4 Dec 2013 10:46:54 +0000 (+0800) Subject: ath9k: enable dfs for mesh mode X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~482^2^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=997b179ba3d4da8a25d28cf4f1de8962a32e588a;p=platform%2Fkernel%2Flinux-arm64.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 8f4c167..5a0b7e8 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) }, };