From owner-cvs-src@FreeBSD.ORG Mon Nov 3 16:24:14 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 8CF9916A4CE; Mon, 3 Nov 2003 16:24:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 222B443F3F; Mon, 3 Nov 2003 16:24:14 -0800 (PST) (envelope-from green@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 hA40ODXJ034800; Mon, 3 Nov 2003 16:24:13 -0800 (PST) (envelope-from green@repoman.freebsd.org) Received: (from green@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA40ODPp034799; Mon, 3 Nov 2003 16:24:13 -0800 (PST) (envelope-from green) Message-Id: <200311040024.hA40ODPp034799@repoman.freebsd.org> From: Brian Feldman Date: Mon, 3 Nov 2003 16:24:13 -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/dev/wi if_wi.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: Tue, 04 Nov 2003 00:24:14 -0000 green 2003/11/03 16:24:13 PST FreeBSD src repository Modified files: sys/dev/wi if_wi.c Log: On my ZoomAir-branded Intersil PRISM2 cards, if you try to set the operating mode to HostAP, the card will lock up indefinitely (but the wi(4) driver can recover if you eject the card). The problem is that the card needs to be "reset" in a way before you even change the media to hostap. In practice this isn't as noticeable because you probably do some operation beforehand which prevents the lock-up before you enable hostap mode. e.g.: "ifconfig wi0 up media autoselect mediaopt hostap" will lock up (if you just inserted the card). "ifconfig wi0 up ssid foo media autoselect mediaopt hostap" won't lock up. Revision Changes Path 1.154 +3 -0 src/sys/dev/wi/if_wi.c