From patchwork Wed Apr 3 16:32:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zefir Kurtisi X-Patchwork-Id: 2388731 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id D4FDE3FD8C for ; Wed, 3 Apr 2013 16:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761918Ab3DCQcv (ORCPT ); Wed, 3 Apr 2013 12:32:51 -0400 Received: from mail.neratec.com ([80.75.119.105]:38790 "EHLO mail.neratec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762065Ab3DCQct (ORCPT ); Wed, 3 Apr 2013 12:32:49 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.neratec.com (Postfix) with ESMTP id 058AA8BDFDB; Wed, 3 Apr 2013 18:32:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at neratec.com Received: from mail.neratec.com ([127.0.0.1]) by localhost (mail.neratec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j68YJ87ncegQ; Wed, 3 Apr 2013 18:32:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.neratec.com (Postfix) with ESMTP id 989CE8A71BA; Wed, 3 Apr 2013 18:32:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at neratec.com Received: from mail.neratec.com ([127.0.0.1]) by localhost (mail.neratec.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qqEm0ekNSaBl; Wed, 3 Apr 2013 18:32:44 +0200 (CEST) Received: from CHL500308.neratec.local (CHL500308.neratec.local [192.168.11.104]) by mail.neratec.com (Postfix) with ESMTPSA id 46B518BDFDB; Wed, 3 Apr 2013 18:32:44 +0200 (CEST) From: Zefir Kurtisi To: linux-wireless@vger.kernel.org Cc: siwu@hrz.tu-chemnitz.de, Zefir Kurtisi Subject: [TESTING-QH 2/2] REMOVEME: remove NO_IBSS and PASSIVE_SCAN from reg_can_beacon() Date: Wed, 3 Apr 2013 18:32:39 +0200 Message-Id: <1365006759-16779-3-git-send-email-zefir.kurtisi@neratec.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1365006759-16779-1-git-send-email-zefir.kurtisi@neratec.com> References: <1365006759-16779-1-git-send-email-zefir.kurtisi@neratec.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Simon Wunderlich The concept of clearing a DFS channel with a CAC and open it for transmission is not yet supported by the channel framework. This patch is required to temporary remove the additional consideration of the flags that are anyhow superposed by the DFS flag. Signed-off-by: Simon Wunderlich Signed-off-by: Zefir Kurtisi --- net/wireless/chan.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/wireless/chan.c b/net/wireless/chan.c index fd556ac..16d0ee7 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -425,8 +425,8 @@ bool cfg80211_reg_can_beacon(struct wiphy *wiphy, res = cfg80211_chandef_usable(wiphy, chandef, IEEE80211_CHAN_DISABLED | - IEEE80211_CHAN_PASSIVE_SCAN | - IEEE80211_CHAN_NO_IBSS | +// IEEE80211_CHAN_PASSIVE_SCAN | +// IEEE80211_CHAN_NO_IBSS | IEEE80211_CHAN_RADAR); trace_cfg80211_return_bool(res);