Commit e184f67d authored by Reinette Chatre's avatar Reinette Chatre

Revert "iwlwifi: fix build error for CONFIG_IWLAGN=n"

This reverts commit 76232ebf.

iwl_good_ack_health only applies to aggregation and thus only to iwlagn. We
can thus move the function to iwlagn instead of modifying compile flags.
This is done in following patch.
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
parent 76232ebf
...@@ -621,7 +621,6 @@ static void iwl_accumulative_statistics(struct iwl_priv *priv, ...@@ -621,7 +621,6 @@ static void iwl_accumulative_statistics(struct iwl_priv *priv,
#define BA_TIMEOUT_CNT (5) #define BA_TIMEOUT_CNT (5)
#define BA_TIMEOUT_MAX (16) #define BA_TIMEOUT_MAX (16)
#if defined(CONFIG_IWLAGN) || defined(CONFIG_IWLAGN_MODULE)
/** /**
* iwl_good_ack_health - checks for ACK count ratios, BA timeout retries. * iwl_good_ack_health - checks for ACK count ratios, BA timeout retries.
* *
...@@ -671,7 +670,6 @@ bool iwl_good_ack_health(struct iwl_priv *priv, ...@@ -671,7 +670,6 @@ bool iwl_good_ack_health(struct iwl_priv *priv,
return rc; return rc;
} }
EXPORT_SYMBOL(iwl_good_ack_health); EXPORT_SYMBOL(iwl_good_ack_health);
#endif
/** /**
* iwl_good_plcp_health - checks for plcp error. * iwl_good_plcp_health - checks for plcp error.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment