aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/yam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hamradio/yam.c')
-rw-r--r--drivers/net/hamradio/yam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index 61dd2447e1bb..81901659cc9e 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -1184,7 +1184,7 @@ static void __exit yam_cleanup_driver(void)
1184 struct yam_mcs *p; 1184 struct yam_mcs *p;
1185 int i; 1185 int i;
1186 1186
1187 del_timer(&yam_timer); 1187 del_timer_sync(&yam_timer);
1188 for (i = 0; i < NR_PORTS; i++) { 1188 for (i = 0; i < NR_PORTS; i++) {
1189 struct net_device *dev = yam_devs[i]; 1189 struct net_device *dev = yam_devs[i];
1190 if (dev) { 1190 if (dev) {