UINT16 mCurFakeQestId;\r
FORM_DISPLAY_ENGINE_FORM gDisplayFormData;\r
BOOLEAN mFinishRetrieveCall = FALSE;\r
+BOOLEAN mDynamicFormUpdated = FALSE;\r
\r
/**\r
Check whether the ConfigAccess protocol is available.\r
)\r
{\r
mHiiPackageListUpdated = TRUE;\r
+ mDynamicFormUpdated = TRUE;\r
\r
return EFI_SUCCESS;\r
}\r
extern EFI_HII_HANDLE mCurrentHiiHandle;\r
extern UINT16 mCurrentFormId;\r
extern FORM_DISPLAY_ENGINE_FORM gDisplayFormData;\r
+extern BOOLEAN mDynamicFormUpdated;\r
\r
/**\r
Create a menu with specified formset GUID and form ID, and add it as a child\r
}\r
Selection->FormSet = FormSet;\r
mSystemLevelFormSet = FormSet;\r
+ mDynamicFormUpdated = FALSE;\r
\r
//\r
// Display this formset\r
gCurrentSelection = NULL;\r
mSystemLevelFormSet = NULL;\r
\r
- if (gFlagReconnect || gCallbackReconnect) {\r
+ //\r
+ // If callback update form dynamically, it's not exiting of the formset for user so system do not reconnect driver hanlde\r
+ // this time.\r
+ //\r
+ if (!mDynamicFormUpdated && (gFlagReconnect || gCallbackReconnect)) {\r
RetVal = ReconnectController (FormSet->DriverHandle);\r
if (!RetVal) {\r
PopupErrorMessage(BROWSER_RECONNECT_FAIL, NULL, NULL, NULL);\r