aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stand/common/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/common/module.c b/stand/common/module.c
index 247fc54b6021..34ffc10cded3 100644
--- a/stand/common/module.c
+++ b/stand/common/module.c
@@ -271,6 +271,8 @@ unload(void)
}
loadaddr = 0;
unsetenv("kernelname");
+ /* Reset tg_kernel_supported to allow next load to check it again. */
+ gfx_state.tg_kernel_supported = false;
}
COMMAND_SET(unload, "unload", "unload all modules", command_unload);