summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>2013-10-07 16:41:07 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-11-07 16:28:51 -0500
commit3c57e865cfb2dcbb48fdfa08e7d4e3479e9b40f0 (patch)
tree1e907e9f575ad676b722387ee03aeb81e938a74d /drivers/net/wireless
parent6b732323c1e1ced5c76350bfef2cc8c233f9dcb9 (diff)
downloadblackbird-op-linux-3c57e865cfb2dcbb48fdfa08e7d4e3479e9b40f0.tar.gz
blackbird-op-linux-3c57e865cfb2dcbb48fdfa08e7d4e3479e9b40f0.zip
ath9k: enable DFS for IBSS mode
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index e89db64532f5..d8643ebabd30 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -845,7 +845,8 @@ static const struct ieee80211_iface_limit if_limits[] = {
};
static const struct ieee80211_iface_limit if_dfs_limits[] = {
- { .max = 1, .types = BIT(NL80211_IFTYPE_AP) },
+ { .max = 1, .types = BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_ADHOC) },
};
static const struct ieee80211_iface_combination if_comb[] = {
OpenPOWER on IntegriCloud