mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 08:34:07 +02:00
NetworkPkg/WifiConnectionManagerDxe: Keep Setup page on no Wi-Fi module
With the driver, "Wi-Fi Configuration" Setup page is available regardless of Wi-Fi module existence. When there is no Wi-Fi module, it is found that entering the page causes exiting Setup browser. User would think the result as an error. For better user experience, the update enables the page to report the module status like a blank page. It prevents exiting Setup. Signed-off-by: Phil Noh <Phil.Noh@amd.com>
This commit is contained in:
parent
d1fccbf494
commit
b8602d8fee
@ -1351,7 +1351,6 @@ WifiMgrDxeHiiConfigAccessRouteConfig (
|
||||
@retval EFI_SUCCESS The callback successfully handled the action.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the
|
||||
variable and its data.
|
||||
@retval EFI_DEVICE_ERROR The variable could not be saved.
|
||||
@retval EFI_UNSUPPORTED The specified Action is not supported by the
|
||||
callback.
|
||||
|
||||
@ -1400,7 +1399,7 @@ WifiMgrDxeHiiConfigAccessCallback (
|
||||
Status = EFI_SUCCESS;
|
||||
Private = WIFI_MGR_PRIVATE_DATA_FROM_CONFIG_ACCESS (This);
|
||||
if (Private->CurrentNic == NULL) {
|
||||
return EFI_DEVICE_ERROR;
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user