diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ahb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ahb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index e5be7e701816..ee7ea572b065 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c | |||
@@ -166,7 +166,9 @@ static int ath_ahb_probe(struct platform_device *pdev) | |||
166 | if (to_platform_device(ah->dev)->id == 0 && | 166 | if (to_platform_device(ah->dev)->id == 0 && |
167 | (bcfg->config->flags & (BD_WLAN0 | BD_WLAN1)) == | 167 | (bcfg->config->flags & (BD_WLAN0 | BD_WLAN1)) == |
168 | (BD_WLAN1 | BD_WLAN0)) | 168 | (BD_WLAN1 | BD_WLAN0)) |
169 | __set_bit(ATH_STAT_2G_DISABLED, ah->status); | 169 | ah->ah_capabilities.cap_needs_2GHz_ovr = true; |
170 | else | ||
171 | ah->ah_capabilities.cap_needs_2GHz_ovr = false; | ||
170 | } | 172 | } |
171 | 173 | ||
172 | ret = ath5k_init_ah(ah, &ath_ahb_bus_ops); | 174 | ret = ath5k_init_ah(ah, &ath_ahb_bus_ops); |