diff options
author | 2007-01-19 18:35:50 +0000 | |
---|---|---|
committer | 2007-01-19 18:35:50 +0000 | |
commit | c40e85c8490c2785806b69353662f4e5d10471d5 (patch) | |
tree | c7276f14f38cabe684c772a34585d2c1e2ccec5e | |
parent | add `10/100' to .Nd; from brad (diff) | |
download | wireguard-openbsd-c40e85c8490c2785806b69353662f4e5d10471d5.tar.xz wireguard-openbsd-c40e85c8490c2785806b69353662f4e5d10471d5.zip |
bnx_init() takes a pointer to sc, not ifp.
-rw-r--r-- | sys/dev/pci/if_bnx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c index 58a54a09664..f233f0e4d10 100644 --- a/sys/dev/pci/if_bnx.c +++ b/sys/dev/pci/if_bnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnx.c,v 1.38 2007/01/10 18:09:26 deraadt Exp $ */ +/* $OpenBSD: if_bnx.c,v 1.39 2007/01/19 18:35:50 mcbride Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -4591,7 +4591,7 @@ bnx_ioctl(struct ifnet *ifp, u_long command, caddr_t data) bnx_set_rx_mode(sc); } else { if (!(ifp->if_flags & IFF_RUNNING)) - bnx_init(ifp); + bnx_init(sc); } } else { if (ifp->if_flags & IFF_RUNNING) |