summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_atu.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-11 22:48:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-11-11 22:48:25 +0000
commitcc161e225861b5b1679e4e6bea85b8bedf7187cc (patch)
tree77ba5485085d450b7418b65bfb9cfcd5058c2c0a /sys/dev/usb/if_atu.c
parent4e2d6a5f08eea9e54ee5bf790367f3704cb78d8c (diff)
use ether_ifdetach; from daan
Diffstat (limited to 'sys/dev/usb/if_atu.c')
-rw-r--r--sys/dev/usb/if_atu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index 22f28480251..fe2516e2937 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.9 2004/11/11 22:47:56 deraadt Exp $ */
+/* $OpenBSD: if_atu.c,v 1.10 2004/11/11 22:48:24 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -1817,7 +1817,7 @@ USB_DETACH(atu)
atu_stop(sc);
- ieee80211_ifdetach(ifp);
+ ether_ifdetach(ifp);
if_detach(ifp);
if (sc->atu_ep[ATU_ENDPT_TX] != NULL)