mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	station: clear roam_freqs on delayed roam
If there were no BSS candidates found after trying to roam make sure the old roam_freqs list gets cleared so IWD doesn't end up scanning potentially old frequencies on the next retry.
This commit is contained in:
		
							parent
							
								
									57dc5d843c
								
							
						
					
					
						commit
						088bb2e308
					
				| @ -2404,6 +2404,11 @@ static void station_roam_retry(struct station *station) | ||||
| 	station->roam_scan_full = false; | ||||
| 	station->ap_directed_roaming = false; | ||||
| 
 | ||||
| 	if (station->roam_freqs) { | ||||
| 		scan_freq_set_free(station->roam_freqs); | ||||
| 		station->roam_freqs = NULL; | ||||
| 	} | ||||
| 
 | ||||
| 	if (station->signal_low) | ||||
| 		station_roam_timeout_rearm(station, roam_retry_interval); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood