Skip to content

Commit

Permalink
Revert "iwlwifi: fix build error for CONFIG_IWLAGN=n"
Browse files Browse the repository at this point in the history
This reverts commit 76232eb.

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: Reinette Chatre <reinette.chatre@intel.com>
  • Loading branch information
rchatre committed Mar 25, 2010
1 parent 76232eb commit e184f67
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ static void iwl_accumulative_statistics(struct iwl_priv *priv,
#define BA_TIMEOUT_CNT (5)
#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.
*
Expand Down Expand Up @@ -671,7 +670,6 @@ bool iwl_good_ack_health(struct iwl_priv *priv,
return rc;
}
EXPORT_SYMBOL(iwl_good_ack_health);
#endif

/**
* iwl_good_plcp_health - checks for plcp error.
Expand Down

0 comments on commit e184f67

Please sign in to comment.