summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wi.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-05-20 22:28:55 +0000
committerimp <imp@FreeBSD.org>2009-05-20 22:28:55 +0000
commita54387f71ebd2234225757b6fe130a50edcf2b56 (patch)
tree643e0486f22d401436e9ddba7bf8af2382062c88 /sys/dev/wi/if_wi.c
parent9bb1878d0e5298a72144d79a33ca85c445213fc4 (diff)
downloadFreeBSD-src-a54387f71ebd2234225757b6fe130a50edcf2b56.zip
FreeBSD-src-a54387f71ebd2234225757b6fe130a50edcf2b56.tar.gz
Revert last junk...
Diffstat (limited to 'sys/dev/wi/if_wi.c')
-rw-r--r--sys/dev/wi/if_wi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 5cdec5f..6e2c586 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -145,6 +145,7 @@ static int wi_alloc_fid(struct wi_softc *, int, int *);
static void wi_read_nicid(struct wi_softc *);
static int wi_write_ssid(struct wi_softc *, int, u_int8_t *, int);
+static int wi_cmd(struct wi_softc *, int, int, int, int);
static int wi_seek_bap(struct wi_softc *, int, int);
static int wi_read_bap(struct wi_softc *, int, int, void *, int);
static int wi_write_bap(struct wi_softc *, int, int, void *, int);
@@ -1801,7 +1802,7 @@ wi_write_wep(struct wi_softc *sc, struct ieee80211vap *vap)
return error;
}
-int
+static int
wi_cmd(struct wi_softc *sc, int cmd, int val0, int val1, int val2)
{
int i, s = 0;
@@ -2120,5 +2121,3 @@ wi_free(device_t dev)
sc->mem = NULL;
}
}
-
-MODULE_VERSION(wi, 1);
OpenPOWER on IntegriCloud