qcacmn: Fix the second cfreq2 for channel 33 for 320MHz

Fix the second cfreq2 frequency returned by the service
API, wlan_get_320_center_freq, for a channel ranging
between 33 (6115MHz) to 61 (6225MHz).

CRs-Fixed: 3060832
Change-Id: I656a5d6633cfa48aaeff5f0ba53e4c6138f5d8f8
This commit is contained in:
Aditya Sathish
2021-10-18 18:41:54 +05:30
committed by Madan Koyyalamudi
parent 0be0d71e91
commit af7379f8c4

View File

@@ -85,7 +85,7 @@ wlan_get_320_center_freq(qdf_freq_t freq,
*center_freq1 = 6105; *center_freq1 = 6105;
} else if ((freq >= 6115) && (freq <= 6255)) { } else if ((freq >= 6115) && (freq <= 6255)) {
*center_freq1 = 6105; *center_freq1 = 6105;
*center_freq2 = 6205; *center_freq2 = 6265;
} else if ((freq >= 6275) && (freq <= 6415)) { } else if ((freq >= 6275) && (freq <= 6415)) {
*center_freq1 = 6265; *center_freq1 = 6265;
*center_freq2 = 6425; *center_freq2 = 6425;