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)
commita119cc492fc720de7fcaf7c1b9394d6c025d276d
tree9a755b4c68bda8afef7b7f19a23805728a3750e7
parenta22be22ab8fe571cce88d0d30b49f297a563c4a7
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