mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	unit: fix test-band for 6ghz frequencies
The 6GHz test was not incrementing the frequencies properly which was resulting in invalid frequencies, but since the conversion API was never linked to E-4 the test was still passing.
This commit is contained in:
		
							parent
							
								
									e70a241f34
								
							
						
					
					
						commit
						cfdfe9c54c
					
				| @ -644,7 +644,7 @@ static void test_6ghz_freqs(const void *data) | ||||
| 	uint32_t i; | ||||
| 	enum band_freq band; | ||||
| 
 | ||||
| 	for (i = 5955; i < 7115; i += 5) { | ||||
| 	for (i = 5955; i < 7115; i += 20) { | ||||
| 		assert(band_freq_to_channel(i, &band) != 0); | ||||
| 		assert(band == BAND_FREQ_6_GHZ); | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood