From owner-cvs-src@FreeBSD.ORG Wed Nov 12 21:23:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCF0816A4CE; Wed, 12 Nov 2003 21:23:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C8B43F75; Wed, 12 Nov 2003 21:23:59 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAD5NxXJ073631; Wed, 12 Nov 2003 21:23:59 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAD5NwQY073630; Wed, 12 Nov 2003 21:23:59 -0800 (PST) (envelope-from sam) Message-Id: <200311130523.hAD5NwQY073630@repoman.freebsd.org> From: Sam Leffler Date: Wed, 12 Nov 2003 21:23:58 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net80211 ieee80211_ioctl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 05:23:59 -0000 sam 2003/11/12 21:23:58 PST FreeBSD src repository Modified files: sys/net80211 ieee80211_ioctl.c Log: o insure the current channel is in a good state before starting an AP scan o reject scan requests for a device that isn't marked up This fixes a problem where requesting a scan before marking the device up would cause a panic because the current channel was set to "any" (0xffff). Revision Changes Path 1.9 +44 -13 src/sys/net80211/ieee80211_ioctl.c