diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-03-24 17:21:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-24 17:21:08 -0400 |
commit | 76232ebf898c4d5e657f2b663fbf7108bca80ded (patch) | |
tree | 8b9384444f5a20a9e6241a27cd61ca9443c9bafe /drivers/net | |
parent | 14b44974d5a3c1ca59f6809b7313d7229eb55fd8 (diff) |
iwlwifi: fix build error for CONFIG_IWLAGN=n
drivers/net/wireless/iwlwifi/iwl-rx.c: In function 'iwl_good_ack_health':
drivers/net/wireless/iwlwifi/iwl-rx.c:647: error: 'struct iwl_priv' has no member named '_agn'
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index b6a64d83718a..2fa30dfb7c59 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -621,6 +621,7 @@ static void iwl_accumulative_statistics(struct iwl_priv *priv, | |||
621 | #define BA_TIMEOUT_CNT (5) | 621 | #define BA_TIMEOUT_CNT (5) |
622 | #define BA_TIMEOUT_MAX (16) | 622 | #define BA_TIMEOUT_MAX (16) |
623 | 623 | ||
624 | #if defined(CONFIG_IWLAGN) || defined(CONFIG_IWLAGN_MODULE) | ||
624 | /** | 625 | /** |
625 | * iwl_good_ack_health - checks for ACK count ratios, BA timeout retries. | 626 | * iwl_good_ack_health - checks for ACK count ratios, BA timeout retries. |
626 | * | 627 | * |
@@ -670,6 +671,7 @@ bool iwl_good_ack_health(struct iwl_priv *priv, | |||
670 | return rc; | 671 | return rc; |
671 | } | 672 | } |
672 | EXPORT_SYMBOL(iwl_good_ack_health); | 673 | EXPORT_SYMBOL(iwl_good_ack_health); |
674 | #endif | ||
673 | 675 | ||
674 | /** | 676 | /** |
675 | * iwl_good_plcp_health - checks for plcp error. | 677 | * iwl_good_plcp_health - checks for plcp error. |