From 61154396ece0d9bef1a7fd19936222c4c55d8296 Mon Sep 17 00:00:00 2001 From: nyan Date: Sun, 23 Feb 2003 13:24:26 +0000 Subject: [PATCH] The ether_ifdetach() function requires only one argument now. --- sys/dev/cnw/if_cnw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cnw/if_cnw.c b/sys/dev/cnw/if_cnw.c index 84bdcedcd5cf..f89038162434 100644 --- a/sys/dev/cnw/if_cnw.c +++ b/sys/dev/cnw/if_cnw.c @@ -1578,7 +1578,7 @@ static int cnw_pccard_detach(dev) cnw_stop(sc); - ether_ifdetach(ifp, ETHER_BPF_SUPPORTED); + ether_ifdetach(ifp); cnw_free(dev); sc->cnw_gone = 1;