mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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>
This commit is contained in:
1 parent
50ab32578b
commit
c142835043
1 file changed
+1
-1
+1
-1
@@ -1948,5 +1948,5 @@ GRUB_MOD_FINI(net)
|
|||||||
grub_net_open = NULL;
|
grub_net_open = NULL;
|
||||||
grub_net_fini_hw (0);
|
grub_net_fini_hw (0);
|
||||||
grub_loader_unregister_preboot_hook (fini_hnd);
|
grub_loader_unregister_preboot_hook (fini_hnd);
|
||||||
grub_net_poll_cards_idle = grub_net_poll_cards_idle_real;
|
grub_net_poll_cards_idle = NULL;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user