diff options
author | Glenn Washburn <development@efficientek.com> | 2022-03-18 01:51:31 -0500 |
---|---|---|
committer | Daniel Kiper <daniel.kiper@oracle.com> | 2022-04-04 19:41:49 +0200 |
commit | c1428350438a0f76e238785d9d1d16f7f1b3d85f (patch) | |
tree | 4c91d41da0881586066ca3a2567b05955d77ed3b | |
parent | 50ab32578b01a16b4f394cccbffdca6cc54e75dd (diff) | |
download | grub-c1428350438a0f76e238785d9d1d16f7f1b3d85f.tar.gz |
net/net: Unset grub_net_poll_cards_idle when net module has been unloaded
This looks like it was a copy/paste error. If the net module is unloaded,
grub_net_poll_cards_idle should be NULL so that GRUB does not try to call
a function which now doesn't exist.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
-rw-r--r-- | grub-core/net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grub-core/net/net.c b/grub-core/net/net.c index 1b0e34601..3eac83d16 100644 --- a/grub-core/net/net.c +++ b/grub-core/net/net.c @@ -1948,5 +1948,5 @@ GRUB_MOD_FINI(net) grub_net_open = NULL; grub_net_fini_hw (0); grub_loader_unregister_preboot_hook (fini_hnd); - grub_net_poll_cards_idle = grub_net_poll_cards_idle_real; + grub_net_poll_cards_idle = NULL; } |