hostapd: fix iapp_interface option
ifname variable were not assigned due to syntax error causing the hostapd config file to have an empty iapp_interface= option Signed-off-by: Lorenzo Santina <lorenzo.santina.dev@gmail.com>
This commit is contained in:
		 Lorenzo Santina
					Lorenzo Santina
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							e2218ea148
						
					
				
				
					commit
					bd24d53ea2
				
			| @@ -372,7 +372,7 @@ hostapd_set_bss_options() { | |||||||
| 	[ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" | 	[ -n "$network_bridge" ] && append bss_conf "bridge=$network_bridge" "$N" | ||||||
| 	[ -n "$iapp_interface" ] && { | 	[ -n "$iapp_interface" ] && { | ||||||
| 		local ifname | 		local ifname | ||||||
| 		network_get_device ifname "$iapp_interface" || ifname = "$iapp_interface" | 		network_get_device ifname "$iapp_interface" || ifname="$iapp_interface" | ||||||
| 		append bss_conf "iapp_interface=$ifname" "$N" | 		append bss_conf "iapp_interface=$ifname" "$N" | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user