ath9k: move the max rx buffer size check to ath9k_rx_accept()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 4 Nov 2009 23:11:05 +0000 (15:11 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 22:09:08 +0000 (17:09 -0500)
commit2c74aa4d73dbed2e879e7eb5ee9de95d40e5298d
tree27f5b5046ced5180f276e9970b79c20d5464e113
parentdd849782a7388e091e356373a744f8b7ae97188a
ath9k: move the max rx buffer size check to ath9k_rx_accept()

While at it flip the order, seems easier to read and also
add some better description as to why we do this check.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c