]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcb31d37d8993f98e54b1e34a94150f137268862
treec80f9c15307caf20ed7c11916138719fc2c206d6
parente70f122bca1723f5781abf28ea750f8f4d72fd1e
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