aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDamien Bergamini <damien@FreeBSD.org>2005-07-08 19:13:49 +0000
committerDamien Bergamini <damien@FreeBSD.org>2005-07-08 19:13:49 +0000
commit11c70aeceee434167e0323a3683a9cab5b16b96c (patch)
tree4b89b4ee9f6e8bcead1df73050be641cda9fc4cd /sys
parentfbb7165a4ba9d152ae76b5f233e87c825f5c59e6 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ral/if_ral.c2
-rw-r--r--sys/dev/usb/if_ural.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c
index b1962e9c8db0..f552a40ba4ef 100644
--- a/sys/dev/ral/if_ral.c
+++ b/sys/dev/ral/if_ral.c
@@ -928,7 +928,7 @@ ral_media_change(struct ifnet *ifp)
return error;
if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
- ral_init(ifp);
+ ral_init(sc);
return 0;
}
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c
index 04f9f6c8712d..3e60518f9840 100644
--- a/sys/dev/usb/if_ural.c
+++ b/sys/dev/usb/if_ural.c
@@ -685,7 +685,7 @@ ural_media_change(struct ifnet *ifp)
}
if ((ifp->if_flags & (IFF_UP | IFF_RUNNING)) == (IFF_UP | IFF_RUNNING))
- ural_init(ifp);
+ ural_init(sc);
RAL_UNLOCK(sc);