diff options
author | damien <damien@FreeBSD.org> | 2005-07-08 19:13:49 +0000 |
---|---|---|
committer | damien <damien@FreeBSD.org> | 2005-07-08 19:13:49 +0000 |
commit | 9530c73e6ce3a932f627ed1a3166dabdf5685b53 (patch) | |
tree | 4b89b4ee9f6e8bcead1df73050be641cda9fc4cd /sys/dev/ral | |
parent | d732ff5ca26d05955ce97f2f7b9f6bb7d117120f (diff) | |
download | FreeBSD-src-9530c73e6ce3a932f627ed1a3166dabdf5685b53.zip FreeBSD-src-9530c73e6ce3a932f627ed1a3166dabdf5685b53.tar.gz |
ral_init() takes a struct ral_softc as parameter not a struct ifnet.
Fixes a panic that occured when setting the interface parameters while
the interface was associated.
Approved by: re (scottl)
Diffstat (limited to 'sys/dev/ral')
-rw-r--r-- | sys/dev/ral/if_ral.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ral/if_ral.c b/sys/dev/ral/if_ral.c index b1962e9..f552a40 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; } |