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>
#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.
*
return rc;
}
EXPORT_SYMBOL(iwl_good_ack_health);
+#endif
/**
* iwl_good_plcp_health - checks for plcp error.