From owner-cvs-src@FreeBSD.ORG Mon May 17 23:57:35 2004 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 29FDE16A4CE; Mon, 17 May 2004 23:57:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63D5243D41; Mon, 17 May 2004 23:57:34 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i4I6vYGe011142; Mon, 17 May 2004 23:57:34 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i4I6vXKq011141; Mon, 17 May 2004 23:57:33 -0700 (PDT) (envelope-from imp) Message-Id: <200405180657.i4I6vXKq011141@repoman.freebsd.org> From: Warner Losh Date: Mon, 17 May 2004 23:57:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/dev/wi if_wi.c if_wireg.h 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, 18 May 2004 06:57:35 -0000 imp 2004/05/17 23:57:33 PDT FreeBSD src repository Modified files: (Branch: RELENG_4) sys/dev/wi if_wi.c if_wireg.h Log: Fix two bugs that aren't in the current: 1) only have a long timeout for the wi_cmd_ini command. All others should much faster at 10ms. Some cards seem to timeout when the signal quality is low, and a faster timeout means that retry will happen in a fraction of a second, rather than seconds. 2) ifconfig passes -1 in i_val for the ssid and ignores the rest of the parameters if it returns an error. wi used to return an error in this case, which means none of the 802.11 parameters were being reported. Since an works, fix the presumed bug in wi. Revision Changes Path 1.103.2.6 +5 -2 src/sys/dev/wi/if_wi.c 1.31.2.3 +1 -1 src/sys/dev/wi/if_wireg.h