qcacmn: Add 4.9 ghz frequency for scan command

Add 4.9 ghz frequency check also in scan command. This change
is needed so that scan entry is formed and association happens in 4.9ghz.

Change-Id: I2fbf719ea6a5e747e07a5973a2da3d2ca2d11b7b
This commit is contained in:
Nandha Kishore Easwaran
2021-07-22 18:19:32 +05:30
committed by Madan Koyyalamudi
parent 45988d32cc
commit b82dd5554f
2 changed files with 3 additions and 0 deletions

View File

@@ -1553,6 +1553,7 @@ int wlan_cfg80211_scan(struct wlan_objmgr_vdev *vdev,
WLAN_REG_IS_24GHZ_CH_FREQ(c_freq)) ||
(req->scan_req.scan_f_5ghz &&
(WLAN_REG_IS_5GHZ_CH_FREQ(c_freq) ||
WLAN_REG_IS_49GHZ_FREQ(c_freq) ||
WLAN_REG_IS_6GHZ_CHAN_FREQ(c_freq)))) {
req->scan_req.chan_list.chan[num_chan].freq =
c_freq;