]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Cleanup buffer status handling
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 30 Mar 2009 09:58:38 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:33 +0000 (16:54 -0400)
commit98b1d551647aef4b9f7f87b0699b43238ff432f4
tree9a755b4c68bda8afef7b7f19a23805728a3750e7
parent852ddc0024a55cccc6e189c3d91e2538ce4f70e6
ath9k: Cleanup buffer status handling

Using a u32 to store a single flag is overkill.
Use a bool to store whether the buffer is stale or not.
Also, use u8 instead of u32 to store the buffer type.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/xmit.c