From 3a1f9535a764afda875a3c4e7ab7793cf2569e21 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Wed, 3 Feb 2010 14:39:03 +0100 Subject: [PATCH] Bug fixed in AMRR --- rt2870_amrr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt2870_amrr.c b/rt2870_amrr.c index 18171cd..4ee4495 100644 --- a/rt2870_amrr.c +++ b/rt2870_amrr.c @@ -166,7 +166,7 @@ static int rt2870_amrr_update(struct rt2870_amrr *amrr, rate_index = amrr_node->rate_index; - if (RT2870_AMRR_IS_ENOUGH(amrr_node)) + if (RT2870_AMRR_IS_SUCCESS(amrr_node)) { amrr_node->success++; if ((amrr_node->success >= amrr_node->success_threshold) && -- 2.11.4.GIT