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)
commit4a0732d1f93ff52b0e74a61302260b9417f6db61
tree54bf48a878d5026cd771aa45750662cb1e04ec95
parent2e8c5e56b307271c2dab6f8bfd1d8a3822ca2390
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