mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	service/nwm_uds: Ensure consistency regarding node IDs
Previously, when connecting, the host was using the incorrect node_id to update `node_info`. This is an attempt to fix tywald's problem with MH, reported on Discord a while ago. I'm not sure if this would actually fix that though.
This commit is contained in:
		
							parent
							
								
									76253063a3
								
							
						
					
					
						commit
						4918f86622
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -226,9 +226,7 @@ void NWM_UDS::HandleEAPoLPacket(const Network::WifiPacket& packet) { | |||
|         connection_status.nodes[node_id - 1] = node.network_node_id; | ||||
|         connection_status.total_nodes++; | ||||
| 
 | ||||
|         u8 current_nodes = network_info.total_nodes; | ||||
|         node_info[current_nodes] = node; | ||||
| 
 | ||||
|         node_info[node_id - 1] = node; | ||||
|         network_info.total_nodes++; | ||||
| 
 | ||||
|         node_map[packet.transmitter_address].node_id = node.network_node_id; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue