ath5k: review RX descriptor functions
authorBruno Randolf <br1@einfach.org>
Wed, 16 Jun 2010 10:12:34 +0000 (19:12 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Jun 2010 18:59:07 +0000 (14:59 -0400)
commit8786123b51984c518436911048668f9673f30cdf
treeab547b4ac6c214537e31646084e49b8b7ad86243
parent1884a3678c97c953dcfc2ee17bd43e354514d657
ath5k: review RX descriptor functions

Reviewed RX descriptor functions against the HAL sources. Some minor changes:

  - check size before making changes to the descriptor

  - whitespace

  - add comments about 5210 timestamps. this needs to be adressed later!

  - FIFO overrun error only available on 5210

  - rs_phyerr should not be OR'ed

  - clear the whole ath5k_rx_status structure before using, instead of
    zeroing specific fields.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/desc.c