mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04: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:
parent
68a7665250
commit
d188ad6a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue