diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index f7dc06a74d1a..826ed692878c 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1586,8 +1586,8 @@ static void rt2500usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
1586 | /* | 1586 | /* |
1587 | * Initialize hw_mode information. | 1587 | * Initialize hw_mode information. |
1588 | */ | 1588 | */ |
1589 | spec->num_modes = 2; | 1589 | spec->supported_bands = SUPPORT_BAND_2GHZ; |
1590 | spec->num_rates = 12; | 1590 | spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; |
1591 | spec->tx_power_a = NULL; | 1591 | spec->tx_power_a = NULL; |
1592 | spec->tx_power_bg = txpower; | 1592 | spec->tx_power_bg = txpower; |
1593 | spec->tx_power_default = DEFAULT_TXPOWER; | 1593 | spec->tx_power_default = DEFAULT_TXPOWER; |
@@ -1608,9 +1608,9 @@ static void rt2500usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
1608 | spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525e); | 1608 | spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525e); |
1609 | spec->channels = rf_vals_bg_2525e; | 1609 | spec->channels = rf_vals_bg_2525e; |
1610 | } else if (rt2x00_rf(&rt2x00dev->chip, RF5222)) { | 1610 | } else if (rt2x00_rf(&rt2x00dev->chip, RF5222)) { |
1611 | spec->supported_bands |= SUPPORT_BAND_5GHZ; | ||
1611 | spec->num_channels = ARRAY_SIZE(rf_vals_5222); | 1612 | spec->num_channels = ARRAY_SIZE(rf_vals_5222); |
1612 | spec->channels = rf_vals_5222; | 1613 | spec->channels = rf_vals_5222; |
1613 | spec->num_modes = 3; | ||
1614 | } | 1614 | } |
1615 | } | 1615 | } |
1616 | 1616 | ||