summaryrefslogtreecommitdiff
path: root/sys/dev/ic/acx.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2013-03-24 17:02:10 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2013-03-24 17:02:10 +0000
commit85e2a7a332638fc23ba0cd6bb09f212ca8e323e9 (patch)
tree395e47bbcf1687b9a169ad874d3fff59f9f382b9 /sys/dev/ic/acx.c
parentd4954354949077099acba9bbaa4e326625bb14fa (diff)
Use ieee80211_set_tim() directly now that it is available.
Diffstat (limited to 'sys/dev/ic/acx.c')
-rw-r--r--sys/dev/ic/acx.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index be26e6fa4a7..b3b5d801f4c 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.99 2012/12/05 23:20:16 deraadt Exp $ */
+/* $OpenBSD: acx.c,v 1.100 2013/03/24 17:02:09 claudio Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -2762,10 +2762,7 @@ acx_set_tim(struct ieee80211com *ic, int aid, int set)
struct acx_tmplt_tim tim;
u_int8_t *ep;
- if (set)
- setbit(ic->ic_tim_bitmap, aid & ~0xc000);
- else
- clrbit(ic->ic_tim_bitmap, aid & ~0xc000);
+ ieee80211_set_tim(ic, aid, set);
bzero(&tim, sizeof(tim));
ep = ieee80211_add_tim(tim.data.u_mem, ic);