From 6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6 Mon Sep 17 00:00:00 2001 From: mdodd Date: Wed, 18 Aug 1999 22:14:24 +0000 Subject: Make these actually compile. I got a little delete happy pruning includes and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk --- sys/i386/isa/if_wl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/i386/isa/if_wl.c') diff --git a/sys/i386/isa/if_wl.c b/sys/i386/isa/if_wl.c index 93d4bd5..2c37caf 100644 --- a/sys/i386/isa/if_wl.c +++ b/sys/i386/isa/if_wl.c @@ -1,4 +1,4 @@ -/* $Id: if_wl.c,v 1.22 1999/07/06 19:22:54 des Exp $ */ +/* $Id: if_wl.c,v 1.23 1999/08/18 06:11:59 mdodd Exp $ */ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -204,6 +204,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +#include #include #include @@ -1181,7 +1182,7 @@ wlioctl(struct ifnet *ifp, u_long cmd, caddr_t data) case SIOCSIFADDR: case SIOCGIFADDR: case SIOCSIFMTU: - error = ether_ioctl(ifp, command, data); + error = ether_ioctl(ifp, cmd, data); break; case SIOCSIFFLAGS: -- cgit v1.1