Received: by mail.netbsd.org (Postfix, from userid 605) id 5769D14A299; Tue, 7 Jan 2014 20:25:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A0E0614A297 for ; Tue, 7 Jan 2014 20:25:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id qWEZOqGbBp0c for ; Tue, 7 Jan 2014 20:25:24 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id D10B814A294 for ; Tue, 7 Jan 2014 20:25:24 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id CB14B96; Tue, 7 Jan 2014 20:25:24 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 7 Jan 2014 20:25:24 +0000 From: "Arnaud Degroote" Subject: CVS commit: src/sbin/ifconfig To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20140107202524.CB14B96@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Arnaud Degroote" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: degroote Date: Tue Jan 7 20:25:24 UTC 2014 Modified Files: src/sbin/ifconfig: ieee80211.c ifconfig.8 Log Message: Before scanning, check if the card is up. If it is not the case, exit with some useful error message. Add some note about this fact in the man page too. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sbin/ifconfig/ieee80211.c cvs rdiff -u -r1.105 -r1.106 src/sbin/ifconfig/ifconfig.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.