summaryrefslogtreecommitdiffstats
path: root/sys/dev/wl/if_wl.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-08-18 22:14:24 +0000
committermdodd <mdodd@FreeBSD.org>1999-08-18 22:14:24 +0000
commit6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6 (patch)
treeba7e857301e62aea36e800d632e2f5a36e1b8182 /sys/dev/wl/if_wl.c
parenta84a396b6b149988f12b678460517eae6b76638a (diff)
downloadFreeBSD-src-6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6.zip
FreeBSD-src-6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6.tar.gz
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
Diffstat (limited to 'sys/dev/wl/if_wl.c')
-rw-r--r--sys/dev/wl/if_wl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 93d4bd5..2c37caf 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/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 <sys/kernel.h>
#include <sys/sysctl.h>
+#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_dl.h>
@@ -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:
OpenPOWER on IntegriCloud