mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	NetworkPkg/WifiConnectionManagerDxe: UI Disconnect
- Fix WifiMgrOnTimerTick to ensure the timer does not exit early when a disconnect is pending, allowing UI-initiated disconnects to complete as expected. Signed-off-by: Zachary Clark-Williams <Zachary.Clark-Williams@intel.com>
This commit is contained in:
		 Zachary Clark-Williams
					Zachary Clark-Williams
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							68a7665250
						
					
				
				
					commit
					d188ad6a1f
				
			| @ -1490,7 +1490,7 @@ WifiMgrOnTimerTick ( | ||||
|   } | ||||
|  | ||||
|   Nic = (WIFI_MGR_DEVICE_DATA *)Context; | ||||
|   if (Nic->ConnectPendingNetwork == NULL) { | ||||
|   if ((Nic->ConnectPendingNetwork == NULL) && !Nic->HasDisconnectPendingNetwork) { | ||||
|     DEBUG ((DEBUG_VERBOSE, "[WiFi Connection Manager] No profile for connection, no scan triggered!\n")); | ||||
|     gBS->SetTimer (Nic->TickTimer, TimerCancel, 0); | ||||
|     return; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user