diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-08-14 12:17:34 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-22 11:35:30 +0200 |
commit | bdf91cfae66dd76a093c75cac8f6ada12fd21b83 (patch) | |
tree | 58f07c4eda2091cc51666093a9318de141e6b361 /drivers/net/wireless/wl12xx/cmd.c | |
parent | wl12xx: schedule TX packets according to FW packet occupancy (diff) | |
download | linux-bdf91cfae66dd76a093c75cac8f6ada12fd21b83.tar.xz linux-bdf91cfae66dd76a093c75cac8f6ada12fd21b83.zip |
wl12xx: handle wrap-around overflow in released Tx blocks FW counter
When the FW Tx released blocks counter wraps around, we should correct
our calculation of released blocks. Otherwise we add a large negative
figure to our driver freed blocks counter
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/cmd.c')
0 files changed, 0 insertions, 0 deletions