]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath5k: remove monitor check in receive_frame_ok filter
authorBob Copeland <me@bobcopeland.com>
Sun, 15 Aug 2010 17:03:13 +0000 (13:03 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:28:01 +0000 (16:28 -0400)
commit23538c268c834d73a2f3e65a06ea6bf218ba1a0e
treedd93c3f682449649a8c1b540702c4917317bbefe
parenta180a13081708b78d42232c6d922ce3de63f12e0
ath5k: remove monitor check in receive_frame_ok filter

Monitor interfaces are never seen by the driver, so tests based on
that opmode don't make sense.  Also, we already pass all mic
failure packets.

Consequently this code is actually accepting any frames with just
crypto errors and rejecting those with CRC, FIFO, and PHY errors for
all interface types.  Adjust the code and comment accordingly.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c