]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r214069:
authorbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 26 Oct 2010 20:23:29 +0000 (20:23 +0000)
committerbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 26 Oct 2010 20:23:29 +0000 (20:23 +0000)
commit488a868faf3b2ad0a86797f30bb5a4cfd20d23a3
tree4463598e8ffaa6f9acf408ceca9d9787354d326f
parent770ae229310c0a852e47947754bc0a1133e270fb
MFC r214069:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214399 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files
sys/modules/wlan/Makefile
sys/net80211/ieee80211_ratectl.c
sys/net80211/ieee80211_ratectl.h
sys/net80211/ieee80211_ratectl_none.c [new file with mode: 0644]