commit | 999acd9c339a761a18d625b13001612ac396ee00 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Sun Oct 28 14:49:33 2007 +0100 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Nov 10 21:59:43 2007 -0800 |
tree | 57498e6de24beb8a998e3a14743e8b7d73869e60 | |
parent | 2bf236d55e5ea2b92ed5235af09997c2995b316b [diff] |
mac80211: don't allow registering the same rate control twice Previously, mac80211 would allow registering the same rate control algorithm twice. This is a programming error in the registration and should not happen; additionally the second version could never be selected. Disallow this and warn about it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>