]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: do not reset while BB panic(0x4000409) on ar9561
authorMiaoqing Pan <miaoqing@codeaurora.org>
Mon, 18 Jan 2016 01:33:48 +0000 (09:33 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Jan 2016 14:47:38 +0000 (16:47 +0200)
BB panic(0x4000409) observed while AP enabling/disabling
bursting.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c

index 201425e7f9cb94f031ad47d6d2366543b870d985..abd964691d8c6b2c9c3b7334e16c456486ce0bc2 100644 (file)
@@ -2071,7 +2071,8 @@ void ar9003_hw_attach_phy_ops(struct ath_hw *ah)
  *             to be disabled.
  *
  * 0x04000409: Packet stuck on receive.
- *             Full chip reset is required for all chips except AR9340.
+ *             Full chip reset is required for all chips except
+ *            AR9340, AR9531 and AR9561.
  */
 
 /*
@@ -2100,7 +2101,7 @@ bool ar9003_hw_bb_watchdog_check(struct ath_hw *ah)
        case 0x04000b09:
                return true;
        case 0x04000409:
-               if (AR_SREV_9340(ah) || AR_SREV_9531(ah))
+               if (AR_SREV_9340(ah) || AR_SREV_9531(ah) || AR_SREV_9561(ah))
                        return false;
                else
                        return true;