summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-11-16 17:09:32 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-11-16 17:09:32 +0000
commitcb045b032c05728a384ab8e42102701c8013690f (patch)
treec72667411a615267fee13adb456289ecc4d4627c /sys/dev
parentda616d22623f622dcef2e8307883164d2eb06493 (diff)
it is better if it compiles.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/athn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index 4a3a0862e6e..6dee200f684 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.4 2009/11/16 17:08:14 damien Exp $ */
+/* $OpenBSD: athn.c,v 1.5 2009/11/16 17:09:31 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -4546,7 +4546,7 @@ athn_init(struct ifnet *ifp)
struct athn_softc *sc = ifp->if_softc;
struct ieee80211com *ic = &sc->sc_ic;
struct ieee80211_channel *c, *extc;
- int i, error;
+ int error;
c = ic->ic_bss->ni_chan = ic->ic_ibss_chan;
extc = NULL;