aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r--net/batman-adv/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index 8fe70b487b49..8e4083612523 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -68,7 +68,7 @@ static int __init batman_init(void)
68 bat_socket_init(); 68 bat_socket_init();
69 batadv_debugfs_init(); 69 batadv_debugfs_init();
70 70
71 register_netdevice_notifier(&hard_if_notifier); 71 register_netdevice_notifier(&batadv_hard_if_notifier);
72 72
73 pr_info("B.A.T.M.A.N. advanced %s (compatibility version %i) loaded\n", 73 pr_info("B.A.T.M.A.N. advanced %s (compatibility version %i) loaded\n",
74 SOURCE_VERSION, COMPAT_VERSION); 74 SOURCE_VERSION, COMPAT_VERSION);
@@ -79,8 +79,8 @@ static int __init batman_init(void)
79static void __exit batman_exit(void) 79static void __exit batman_exit(void)
80{ 80{
81 batadv_debugfs_destroy(); 81 batadv_debugfs_destroy();
82 unregister_netdevice_notifier(&hard_if_notifier); 82 unregister_netdevice_notifier(&batadv_hard_if_notifier);
83 hardif_remove_interfaces(); 83 batadv_hardif_remove_interfaces();
84 84
85 flush_workqueue(bat_event_workqueue); 85 flush_workqueue(bat_event_workqueue);
86 destroy_workqueue(bat_event_workqueue); 86 destroy_workqueue(bat_event_workqueue);