Skip to content

Instantly share code, notes, and snippets.

@corrideat
Created September 5, 2017 15:52
Show Gist options
  • Save corrideat/af92e494b0a9beaf11239f8a99aa795a to your computer and use it in GitHub Desktop.
Save corrideat/af92e494b0a9beaf11239f8a99aa795a to your computer and use it in GitHub Desktop.
999_ath10k_swmode_if_disabled_hwmode.patch
--- 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