]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedce6ddc8d7bacf4e24205c672817d675e7d5544
tree0cd5ca5d370ebe0c6aefbb385fd96b492c0d15b1
parente758a4a53e450a05629ea75a5fa49f9bfb92e10a
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