ath10k: fix tx rate selection for ad-hoc mode with HT
[oweals/openwrt.git] / package / kernel / mac80211 / patches / 542-ath9k_debugfs_diag.patch
index 38c0c6352918c7079ad14fbd17003be724df0ea9..34d698ba65afec550d6059f0d38e80223ba23047 100644 (file)
 --- a/drivers/net/wireless/ath/ath9k/main.c
 +++ b/drivers/net/wireless/ath/ath9k/main.c
 @@ -532,6 +532,11 @@ irqreturn_t ath_isr(int irq, void *dev)
-       ath9k_debug_sync_cause(sc, sync_cause);
-       status &= ah->imask;    /* discard unasked-for bits */
+       if (AR_SREV_9100(ah) && test_bit(ATH_OP_HW_RESET, &common->op_flags))
+               return IRQ_HANDLED;
  
 +      if (test_bit(ATH_DIAG_TRIGGER_ERROR, &ah->diag)) {
 +              status |= ATH9K_INT_FATAL;