Date: Tue, 19 Oct 2010 18:49:26 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201010191849.o9JInx2Z014710@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010191849.o9JInx2Z014710>