git: kernel/802_11: Fix panic when the desired ratectl algorithm is unavailable.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Mar 22 12:17:38 PDT 2014
commit 168783520f968823dd6e673c8c56ab86228b1bd9
Author: Sascha Wildner <saw at online.de>
Date: Sat Mar 22 18:44:28 2014 +0100
kernel/802_11: Fix panic when the desired ratectl algorithm is unavailable.
Set the default to NONE. When a driver calls ieee80211_ratectl_init(), try
to use AMRR etc. if NONE is selected. Drivers may still select other
algorithms using ieee80211_ratectl_set() prior to calling _init().
Due to our broken ieee80211_load_module(), we do not currently autoload
the desired ratectl algorithm like FreeBSD does. Instead, a message about
manually loading the module will be printed (see ieee80211_dragonfly.c).
Reported-by: profmakx
Taken-from: FreeBSD
Summary of changes:
sys/conf/files | 1 +
sys/netproto/802_11/ieee80211_ratectl.h | 20 +--
sys/netproto/802_11/wlan/Makefile | 4 +-
sys/netproto/802_11/wlan/ieee80211_ratectl.c | 28 +++-
sys/netproto/802_11/wlan/ieee80211_ratectl_none.c | 155 ++++++++++------------
5 files changed, 104 insertions(+), 104 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/168783520f968823dd6e673c8c56ab86228b1bd9
--
DragonFly BSD source repository
More information about the Commits
mailing list