Don't call ether_ifdetach since we're not an ether driver.

This commit is contained in:
augustss 2000-12-08 02:24:07 +00:00
parent dfd78cfc78
commit 330a5e12fa
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_upl.c,v 1.9 2000/10/24 14:53:59 augustss Exp $ */
/* $NetBSD: if_upl.c,v 1.10 2000/12/08 02:24:07 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
@ -359,7 +359,6 @@ USB_DETACH(upl)
#if NBPFILTER > 0
bpfdetach(ifp);
#endif
ether_ifdetach(ifp);
if_detach(ifp);