From patchwork Fri Oct 26 14:41:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 1652131 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C358BDFB7A for ; Fri, 26 Oct 2012 14:42:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933313Ab2JZOmb (ORCPT ); Fri, 26 Oct 2012 10:42:31 -0400 Received: from latitanza.investici.org ([82.94.249.234]:54839 "EHLO latitanza.investici.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933294Ab2JZOma (ORCPT ); Fri, 26 Oct 2012 10:42:30 -0400 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: ordex@autistici.org) by localhost (Postfix) with ESMTPSA id 2CEAE981D4; Fri, 26 Oct 2012 14:42:28 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 latitanza.investici.org 2CEAE981D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1351262548; bh=M4S0qxXDMdtuFm13oYdbd5LBQJ422wCfI7KrVzaGICs=; h=From:To:Cc:Subject:Date:Message-Id; b=eAXxTP1BeRQwtxxOaH0hdXsDaJPjctIOkKcDe0QYrBjxW0p4lpE20rfKlwWX/jZuS Sbpf3r8hqKoeZ2gRRITIUrwYy1cBIwiH+wNZRrD9aUzV+eU94BU0shxp3tnOK/Fsfq S+087f7wyjVKWm4ti0oRM1id4hw890F3msd/7aMM= From: Antonio Quartulli To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Antonio Quartulli Subject: [PATCH 1/2] iw: show AP scan capability Date: Fri, 26 Oct 2012 16:41:47 +0200 Message-Id: <1351262508-23386-1-git-send-email-ordex@autistici.org> X-Mailer: git-send-email 1.7.12.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org If the wireless driver supports the AP scan capability (this can be seen by checking NL80211_FEATURE_AP_SCAN) iw has to show it. Signed-off-by: Antonio Quartulli --- info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info.c b/info.c index 799f6d3..5dab1e8 100644 --- a/info.c +++ b/info.c @@ -448,6 +448,8 @@ broken_combination: printf("\tDevice supports low priority scan.\n"); if (features & NL80211_FEATURE_SCAN_FLUSH) printf("\tDevice supports scan flush.\n"); + if (features & NL80211_FEATURE_AP_SCAN) + printf("\tDevice supports AP scan.\n"); } return NL_SKIP;