420-ath5k_disable_fast_cc.patch 476 B

123456789101112131415161718
  1. --- a/drivers/net/wireless/ath/ath5k/reset.c
  2. +++ b/drivers/net/wireless/ath/ath5k/reset.c
  3. @@ -1154,6 +1154,7 @@ ath5k_hw_reset(struct ath5k_hw *ah, enum
  4. tsf_lo = 0;
  5. mode = 0;
  6. +#if 0
  7. /*
  8. * Sanity check for fast flag
  9. * Fast channel change only available
  10. @@ -1161,6 +1162,7 @@ ath5k_hw_reset(struct ath5k_hw *ah, enum
  11. */
  12. if (fast && (ah->ah_radio != AR5K_RF2413) &&
  13. (ah->ah_radio != AR5K_RF5413))
  14. +#endif
  15. fast = false;
  16. /* Disable sleep clock operation