mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	iwinfo.uc: Fix access to undefined htmode object
iwinfo command failed due to undefined htmode object Fixes: WIFI-14666 Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
This commit is contained in:
		 Marek Kwaczynski
					Marek Kwaczynski
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							8ee96c36c9
						
					
				
				
					commit
					0f6683f31e
				
			| @@ -397,7 +397,7 @@ export function info(name) { | |||||||
| 			mode: data.mode, | 			mode: data.mode, | ||||||
| 			channel: format_channel(data.wiphy_freq), | 			channel: format_channel(data.wiphy_freq), | ||||||
| 			freq: format_frequency(data.wiphy_freq), | 			freq: format_frequency(data.wiphy_freq), | ||||||
| 			htmode: data.radio.htmode, | 			htmode: data?.radio?.htmode, | ||||||
| 			center_freq1: format_channel(data.center_freq1) || 'unknown', | 			center_freq1: format_channel(data.center_freq1) || 'unknown', | ||||||
| 			center_freq2: format_channel(data.center_freq2) || 'unknown', | 			center_freq2: format_channel(data.center_freq2) || 'unknown', | ||||||
| 			txpower: data.wiphy_tx_power_level / 100, | 			txpower: data.wiphy_tx_power_level / 100, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user