ath9k: Fix bug in validating received data length for edma
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Thu, 20 May 2010 21:34:48 +0000 (14:34 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:32 +0000 (16:13 -0400)
commitb7b1b512287d6917d4976a4ee0e7d72c4edf52eb
tree2e098ddf22ccd61cb09159aec3b9a236ebcc1f8a
parent5c6dd921776946d12cbbae8ab92c5d6773b25810
ath9k: Fix bug in validating received data length for edma

The rx status length should also be taken into account while
validating the length of a received frame.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c