diff options
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index b4890a01ba92..84508b065265 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c | |||
@@ -646,7 +646,7 @@ static struct ieee80211_supported_band mwifiex_band_2ghz = { | |||
646 | .channels = mwifiex_channels_2ghz, | 646 | .channels = mwifiex_channels_2ghz, |
647 | .n_channels = ARRAY_SIZE(mwifiex_channels_2ghz), | 647 | .n_channels = ARRAY_SIZE(mwifiex_channels_2ghz), |
648 | .bitrates = mwifiex_rates, | 648 | .bitrates = mwifiex_rates, |
649 | .n_bitrates = 14, | 649 | .n_bitrates = ARRAY_SIZE(mwifiex_rates), |
650 | }; | 650 | }; |
651 | 651 | ||
652 | static struct ieee80211_channel mwifiex_channels_5ghz[] = { | 652 | static struct ieee80211_channel mwifiex_channels_5ghz[] = { |