From patchwork Tue Sep 3 17:43:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Wunderlich X-Patchwork-Id: 2853355 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 22D3F9F494 for ; Tue, 3 Sep 2013 17:43:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 148A72041C for ; Tue, 3 Sep 2013 17:43:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4AB19203FD for ; Tue, 3 Sep 2013 17:43:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758756Ab3ICRnf (ORCPT ); Tue, 3 Sep 2013 13:43:35 -0400 Received: from cora.hrz.tu-chemnitz.de ([134.109.228.40]:38632 "EHLO cora.hrz.tu-chemnitz.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756839Ab3ICRne (ORCPT ); Tue, 3 Sep 2013 13:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-chemnitz.de; s=dkim2010; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=MBv7y1EUMKmEt1g+4dK4yub2VTyiURTrDeFXnLLXThA=; b=AjYDmeoTNtoWcMXruHzDPCeelnjLJW3tkKjt+ocHy6J8NTjWnj+Xo/7ale5dTiTIh7v25mChAgZAHdwKnMoFd+c7EKBleqZCJ4JguRjqR7nvGSglVrx5ZQY213WFpWCvqXhUNccGtASwR/wJwbvTMRgh2mCv90yRllyzrH/6yvo=; Received: from p4ffe5d4b.dip0.t-ipconnect.de ([79.254.93.75] helo=pandem0nium) by cora.hrz.tu-chemnitz.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VGudY-0006Vh-7n; Tue, 03 Sep 2013 19:43:32 +0200 Received: from dotslash by pandem0nium with local (Exim 4.80) (envelope-from ) id 1VGudW-0006dB-FX; Tue, 03 Sep 2013 19:43:30 +0200 From: Simon Wunderlich To: linux-wireless@vger.kernel.org Cc: Johannes Berg , Mathias Kretschmer , Simon Wunderlich Subject: [PATCH 4/4] ath9k: enable DFS for IBSS mode Date: Tue, 3 Sep 2013 19:43:21 +0200 Message-Id: <1378230201-25446-5-git-send-email-siwu@hrz.tu-chemnitz.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1378230201-25446-1-git-send-email-siwu@hrz.tu-chemnitz.de> References: <1378230201-25446-1-git-send-email-siwu@hrz.tu-chemnitz.de> X-purgate: clean X-purgate-type: clean X-purgate-ID: 154106::1378230212-0000051A-08AC2FF7/0-0/0-0 X-Scan-AV: cora.hrz.tu-chemnitz.de; 2013-09-03 19:43:32; 95fe73bc993536ff5c50d456401cd591 X-Scan-SA: cora.hrz.tu-chemnitz.de; 2013-09-03 19:43:32; a89034839573132a8845b5090f75d074 X-Spam-Score: -1.0 (-) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Simon Wunderlich Signed-off-by: Mathias Kretschmer --- drivers/net/wireless/ath/ath9k/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 9a1f349..bcc5698 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -791,7 +791,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[] = {