diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-09-24 14:30:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-25 15:57:44 -0400 |
commit | 944f8a1a6f5ff8b503f3544811d0aa4ac27dd2aa (patch) | |
tree | badd6f3772950ad49d0ee4152acedb320d01886c /drivers/net/wireless | |
parent | a50d1fd4525162732b45db7a372e868933746a4e (diff) |
ath5k: add missing breaks in ath5k_hw_set_spur_mitigation_filter
https://bugzilla.kernel.org/show_bug.cgi?id=47681
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 01c90ed58453..ab363f34b4df 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -1975,11 +1975,13 @@ ath5k_hw_set_spur_mitigation_filter(struct ath5k_hw *ah, | |||
1975 | spur_delta_phase = (spur_offset << 18) / 25; | 1975 | spur_delta_phase = (spur_offset << 18) / 25; |
1976 | spur_freq_sigma_delta = (spur_delta_phase >> 10); | 1976 | spur_freq_sigma_delta = (spur_delta_phase >> 10); |
1977 | symbol_width = AR5K_SPUR_SYMBOL_WIDTH_BASE_100Hz / 2; | 1977 | symbol_width = AR5K_SPUR_SYMBOL_WIDTH_BASE_100Hz / 2; |
1978 | break; | ||
1978 | case AR5K_BWMODE_5MHZ: | 1979 | case AR5K_BWMODE_5MHZ: |
1979 | /* Both sample_freq and chip_freq are 10MHz (?) */ | 1980 | /* Both sample_freq and chip_freq are 10MHz (?) */ |
1980 | spur_delta_phase = (spur_offset << 19) / 25; | 1981 | spur_delta_phase = (spur_offset << 19) / 25; |
1981 | spur_freq_sigma_delta = (spur_delta_phase >> 10); | 1982 | spur_freq_sigma_delta = (spur_delta_phase >> 10); |
1982 | symbol_width = AR5K_SPUR_SYMBOL_WIDTH_BASE_100Hz / 4; | 1983 | symbol_width = AR5K_SPUR_SYMBOL_WIDTH_BASE_100Hz / 4; |
1984 | break; | ||
1983 | default: | 1985 | default: |
1984 | if (channel->band == IEEE80211_BAND_5GHZ) { | 1986 | if (channel->band == IEEE80211_BAND_5GHZ) { |
1985 | /* Both sample_freq and chip_freq are 40MHz */ | 1987 | /* Both sample_freq and chip_freq are 40MHz */ |