qcacmn: Fix Spectral priority value after stop_scan call
After stop_scan call, Spectral priority is being disabled. Do not change the value of any spectral parameter unless the command is configure_spectral. Change-Id: I25d3458cd49e25533270f89df9f8f29a4b7da16d CRs-Fixed: 2259952
This commit is contained in:

committed by
nshrivas

parent
e65eeb0388
commit
fd7c31dc80
@@ -2657,15 +2657,7 @@ target_if_stop_spectral_scan(struct wlan_objmgr_pdev *pdev)
|
||||
|
||||
spectral->send_single_packet = 0;
|
||||
spectral->sc_spectral_scan = 0;
|
||||
spectral->sc_spectral_noise_pwr_cal = 0;
|
||||
|
||||
/*
|
||||
* Reset the priority because it stops WLAN rx.
|
||||
* If it is needed to set, user has to set it explicitly
|
||||
*
|
||||
*/
|
||||
/* Reset Priority */
|
||||
spectral->params.ss_spectral_pri = 0;
|
||||
qdf_spin_unlock(&spectral->spectral_lock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user