--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
-@@ -7812,6 +7812,21 @@ struct ath10k_vif *ath10k_get_arvif(stru
- return arvif_iter.arvif;
+@@ -8003,6 +8003,21 @@ static int ath10k_mac_init_rd(struct ath
+ return 0;
}
+#ifdef CPTCFG_MAC80211_LEDS
int ath10k_mac_register(struct ath10k *ar)
{
static const u32 cipher_suites[] = {
-@@ -8045,6 +8060,12 @@ int ath10k_mac_register(struct ath10k *a
+@@ -8248,6 +8263,12 @@ int ath10k_mac_register(struct ath10k *a
ar->hw->wiphy->cipher_suites = cipher_suites;
ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);