summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-08-05 17:22:47 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-08-05 17:22:47 +0000
commit7d8f39058c0338c5db52211f06b9ca3a209b0dc6 (patch)
tree91c553d8958fe94038ab8505ae5b1d04178e318f /sys/dev/ic
parentfce8b3a41fc0272728c8a8f94f38d5303556dd5e (diff)
don't set ifp->if_xname twice.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/acx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index 73b55824a75..d8be1527cb1 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.22 2006/08/05 13:06:50 mglocker Exp $ */
+/* $OpenBSD: acx.c,v 1.23 2006/08/05 17:22:46 damien Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -243,7 +243,6 @@ acx_attach(struct acx_softc *sc)
struct ifnet *ifp = &sc->sc_ic.ic_if;
int i, error;
- bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
ifp->if_softc = sc;
/* Initialize channel scanning timer */