From owner-cvs-src-old@FreeBSD.ORG Tue Oct 19 18:49:59 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B8AE1065670 for ; Tue, 19 Oct 2010 18:49:59 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 373CC8FC1E for ; Tue, 19 Oct 2010 18:49:59 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9JInxZw014711 for ; Tue, 19 Oct 2010 18:49:59 GMT (envelope-from bschmidt@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9JInx2Z014710 for cvs-src-old@freebsd.org; Tue, 19 Oct 2010 18:49:59 GMT (envelope-from bschmidt@repoman.freebsd.org) Message-Id: <201010191849.o9JInx2Z014710@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bschmidt@repoman.freebsd.org using -f From: Bernhard Schmidt Date: Tue, 19 Oct 2010 18:49:26 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/modules/wlan Makefile src/sys/net80211 ieee80211_ratectl.c ieee80211_ratectl.h ieee80211_ratectl_none.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2010 18:49:59 -0000 bschmidt 2010-10-19 18:49:26 UTC FreeBSD src repository Modified files: sys/conf files sys/modules/wlan Makefile sys/net80211 ieee80211_ratectl.c ieee80211_ratectl.h Added files: sys/net80211 ieee80211_ratectl_none.c Log: SVN rev 214069 on 2010-10-19 18:49:26Z by bschmidt Fix an undefined behaviour if the desired ratectl algo is not available. This can happen if the algos are built as modules but are not loaded. If the selected ratectl algo is not available, try to load it (The load module functions does nothing currently). Add a dummy ratectl algo which always selects the first available rate. Use that one if the desired algo is not available. MFC after: 1 week Revision Changes Path 1.1538 +1 -0 src/sys/conf/files 1.23 +1 -1 src/sys/modules/wlan/Makefile 1.2 +18 -0 src/sys/net80211/ieee80211_ratectl.c 1.5 +2 -1 src/sys/net80211/ieee80211_ratectl.h 1.1 +113 -0 src/sys/net80211/ieee80211_ratectl_none.c (new)