Przeglądaj źródła

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
Shiva Krishna Pittala 6 lat temu
rodzic
commit
fd7c31dc80
1 zmienionych plików z 0 dodań i 8 usunięć
  1. 0 8
      target_if/spectral/target_if_spectral.c

+ 0 - 8
target_if/spectral/target_if_spectral.c

@@ -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);
 }