Missed file from r3515

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3516 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mtaylor 2008-04-10 05:31:29 +00:00
parent 0438f82469
commit d51cd60e0f
1 changed files with 2 additions and 2 deletions

View File

@ -425,9 +425,9 @@ ath_rate_findrate(struct ath_softc *sc, struct ath_node *an,
* bit rates will not work.
*/
int initial_rate = 72;
if (an->an_halstats.ns_avgrssi > 50) {
if (an->an_avgrssi > 50) {
initial_rate = 108; /* 54 mbps */
} else if (an->an_halstats.ns_avgrssi > 30) {
} else if (an->an_avgrssi > 30) {
initial_rate = 72; /* 36 mbps */
} else {
initial_rate = 22; /* 11 mbps */