]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: shifting the wrong variable for AR5K_AR5210
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Feb 2014 11:50:38 +0000 (14:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 19:58:12 +0000 (14:58 -0500)
commitb8e21d6d2557abbacb19267760ce61505d39e1c5
tree54bf48a878d5026cd771aa45750662cb1e04ec95
parent3c7b32ee6253bd0f26614adbf8b9d2132f23a194
ath5k: shifting the wrong variable for AR5K_AR5210

In the original code we shift "AR5K_PHY(256) >> 28" which is zero but
the intent was to shift the return value of ath5k_hw_reg_read() like we
do a couple lines later.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c