summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-01-14 09:50:32 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-01-14 09:50:32 +0000
commited0949ddfb82beef23f3af12f8a0d7f69c6eff8e (patch)
treeff98318d9a4891452b0a204b2849cd9b9ee0a158
parentc190a0d4676fb854fefa57a94800ec184ba9b032 (diff)
Fix the sotfware.
-rw-r--r--sys/dev/ic/athn.c4
-rw-r--r--sys/dev/usb/if_athn_usb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c
index a698f7d42ef..8b0f76245d2 100644
--- a/sys/dev/ic/athn.c
+++ b/sys/dev/ic/athn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: athn.c,v 1.74 2012/10/20 09:54:20 stsp Exp $ */
+/* $OpenBSD: athn.c,v 1.75 2013/01/14 09:50:31 jsing Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -2443,7 +2443,7 @@ athn_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
#ifndef IEEE80211_STA_ONLY
if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
athn_set_hostap_timers(sc);
- /* Enable sotfware beacon alert interrupts. */
+ /* Enable software beacon alert interrupts. */
sc->imask |= AR_IMR_SWBA;
} else
#endif
diff --git a/sys/dev/usb/if_athn_usb.c b/sys/dev/usb/if_athn_usb.c
index a30c7966e4f..26c5ec54c4d 100644
--- a/sys/dev/usb/if_athn_usb.c
+++ b/sys/dev/usb/if_athn_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_athn_usb.c,v 1.11 2013/01/14 09:48:24 jsing Exp $ */
+/* $OpenBSD: if_athn_usb.c,v 1.12 2013/01/14 09:50:31 jsing Exp $ */
/*-
* Copyright (c) 2011 Damien Bergamini <damien.bergamini@free.fr>
@@ -1052,7 +1052,7 @@ athn_usb_newstate_cb(struct athn_usb_softc *usc, void *arg)
#ifndef IEEE80211_STA_ONLY
if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
athn_set_hostap_timers(sc);
- /* Enable sotfware beacon alert interrupts. */
+ /* Enable software beacon alert interrupts. */
imask = htobe32(AR_IMR_SWBA);
} else
#endif