carl9170 firmware: fix BAR->BA delivery
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 31 Mar 2012 22:04:35 +0000 (00:04 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 31 Mar 2012 22:09:50 +0000 (00:09 +0200)
commita9df280e9edf83ab1596a81c1bf47cd2e72f3d50
treec928d99cc31b051ec564f162c3bea675b76d3178
parent500397585d53a08f83d1798c0e871c91667a2be3
carl9170 firmware: fix BAR->BA delivery

Previously, if the HT peer sended "just" enough BARs so
ba_head_idx warps around and the ba_head_idx == ba_tail_idx
condition will be true, the already queued BAs would be
lost.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/include/carl9170.h
carlfw/src/wlan.c