Created
September 5, 2017 15:52
-
-
Save corrideat/af92e494b0a9beaf11239f8a99aa795a to your computer and use it in GitHub Desktop.
999_ath10k_swmode_if_disabled_hwmode.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/ath10k/mac.c 2017-08-29 03:20:52.000000000 +0300 | |
+++ b/ath10k/mac.c 2017-08-29 03:22:04.000000000 +0300 | |
@@ -8161,7 +8161,7 @@ int ath10k_mac_register(struct ath10k *a | |
ieee80211_hw_set(ar->hw, SUPPORTS_TX_FRAG); | |
ieee80211_hw_set(ar->hw, REPORTS_LOW_ACK); | |
- if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) | |
+ if (test_bit(ATH10K_FLAG_HW_CRYPTO_DISABLED, &ar->dev_flags)) | |
ieee80211_hw_set(ar->hw, SW_CRYPTO_CONTROL); | |
ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment