]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix stale flag handling on buffer clone
authorFelix Fietkau <nbd@openwrt.org>
Sat, 14 Sep 2013 13:46:33 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 18:02:28 +0000 (14:02 -0400)
commit88bb6c9967c9fb8cf5b50ef1cab614cd73b6678b
tree225662eac4a14ee2ebed62cb93560defd5f4b32b
parent25bbd2a44d9544b0f2727cf4a6264452a01b1848
ath9k: fix stale flag handling on buffer clone

Fixes a regression from commit
"ath9k: shrink a few data structures by reordering fields"

When cloning a buffer, the stale flag (part of bf_state now) needs to be
reset after copying the state to prevent tx processing hangs.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c