eeval = ah->eep_ops->get_eeprom(ah, EEP_OP_MODE);
- if (eeval & AR5416_OPFLAGS_11A) {
- if (ah->disable_5ghz)
- ath_warn(common, "disabling 5GHz band\n");
- else
- pCap->hw_caps |= ATH9K_HW_CAP_5GHZ;
- }
+ if (eeval & AR5416_OPFLAGS_11A)
+ pCap->hw_caps |= ATH9K_HW_CAP_5GHZ;
- if (eeval & AR5416_OPFLAGS_11G) {
- if (ah->disable_2ghz)
- ath_warn(common, "disabling 2GHz band\n");
- else
- pCap->hw_caps |= ATH9K_HW_CAP_2GHZ;
- }
+ if (eeval & AR5416_OPFLAGS_11G)
+ pCap->hw_caps |= ATH9K_HW_CAP_2GHZ;
if ((pCap->hw_caps & (ATH9K_HW_CAP_2GHZ | ATH9K_HW_CAP_5GHZ)) == 0) {
ath_err(common, "both bands are disabled\n");
bool is_clk_25mhz;
int (*get_mac_revision)(void);
int (*external_reset)(void);
- bool disable_2ghz;
- bool disable_5ghz;
const struct firmware *eeprom_blob;
u16 *nvmem_blob; /* devres managed */