Last change for mgb(4) needed for IfAPI conversion

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Justin Hibbits 2023-01-24 15:58:00 -05:00
parent 087f0d352a
commit 34d5a6a3dc

View file

@ -513,7 +513,7 @@ mgb_media_change(if_t ifp)
needs_reset = mii_mediachg(miid);
if (needs_reset != 0)
ifp->if_init(ctx);
if_init(ifp, ctx);
return (needs_reset);
}