ath9k: Fix an operator typo in phy rate validation
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 13 Jan 2009 12:33:49 +0000 (14:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Jan 2009 22:08:23 +0000 (17:08 -0500)
commitb657eade2f98b5c689e405bd6e4e445471066380
tree0cd5ca5d370ebe0c6aefbb385fd96b492c0d15b1
parentd71038c05970ad0c9d7da6f797803f69e4f91837
ath9k: Fix an operator typo in phy rate validation

This was not supposed to be a bitwise AND operation, but a check of
two separate conditions. Anyway, the old code happened to result in
the same behavior, so this is just changing the code to be easier to
understand and also to keep sparse from warning about dubious
operators.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/rc.c