ath9k_hw: Fix pll2_divfrac for AR953x
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Tue, 24 Jun 2014 16:57:40 +0000 (22:27 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 19:40:39 +0000 (15:40 -0400)
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index ace4fe2740d4d2023b418f439684d3835b984e97..fd0158fdf144df989c501316cbbe4692899dc693 100644 (file)
@@ -791,7 +791,8 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
                                refdiv = 5;
                        } else {
                                pll2_divint = 0x11;
-                               pll2_divfrac = 0x26666;
+                               pll2_divfrac =
+                                       AR_SREV_9531(ah) ? 0x26665 : 0x26666;
                                refdiv = 1;
                        }
                }