mac80211: Fix the way ADDBA request count being modified
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 9 Jun 2009 08:41:46 +0000 (14:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:28:38 +0000 (13:28 -0400)
commit736708bd04b7a8941fddda32211982cab5d14431
treec80f9c15307caf20ed7c11916138719fc2c206d6
parent558f6d3229ddb9f11ca4ffee0439046c283882ff
mac80211: Fix the way ADDBA request count being modified

addba_req_num[tid] is supposed to have the count of consecutive
addba request attempts on 'tid' which failed. This count is checked
against a retry threshold (3 times) before starting the addba negotiation.
This patch fixes the way this addba count is incremented/reset and thereby
avoids indefinite addba attempts.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-tx.c