ath10k: don't set cck/ofdm scan flags
mac80211 already does provide complete IEs for Probe Requests for hw scan and ath10k firmware was appending duplicate Supported Rates IEs unnecessarily. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
3c7e256a6d
commit
835d56a10c
@@ -4641,9 +4641,6 @@ static int ath10k_hw_scan(struct ieee80211_hw *hw,
|
||||
arg.vdev_id = arvif->vdev_id;
|
||||
arg.scan_id = ATH10K_SCAN_ID;
|
||||
|
||||
if (!req->no_cck)
|
||||
arg.scan_ctrl_flags |= WMI_SCAN_ADD_CCK_RATES;
|
||||
|
||||
if (req->ie_len) {
|
||||
arg.ie_len = req->ie_len;
|
||||
memcpy(arg.ie, req->ie, arg.ie_len);
|
||||
|
Reference in New Issue
Block a user