Skip to content

Commit 3c57e86

Browse files
Simon Wunderlichlinvjw
authored andcommitted
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>
1 parent 6b73232 commit 3c57e86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • drivers/net/wireless/ath/ath9k

‎drivers/net/wireless/ath/ath9k/init.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,8 @@ static const struct ieee80211_iface_limit if_limits[] = {
845845
};
846846

847847
static const struct ieee80211_iface_limit if_dfs_limits[] = {
848-
{ .max = 1, .types = BIT(NL80211_IFTYPE_AP) },
848+
{ .max = 1, .types = BIT(NL80211_IFTYPE_AP) |
849+
BIT(NL80211_IFTYPE_ADHOC) },
849850
};
850851

851852
static const struct ieee80211_iface_combination if_comb[] = {

0 commit comments

Comments
 (0)