aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/otus
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/otus')
-rw-r--r--sys/dev/otus/if_otus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c
index 0d59278050e0..160b05e7abb7 100644
--- a/sys/dev/otus/if_otus.c
+++ b/sys/dev/otus/if_otus.c
@@ -2423,7 +2423,7 @@ otus_updateslot(struct otus_softc *sc)
OTUS_LOCK_ASSERT(sc);
- slottime = (ic->ic_flags & IEEE80211_F_SHSLOT) ? 9 : 20;
+ slottime = IEEE80211_GET_SLOTTIME(ic);
otus_write(sc, AR_MAC_REG_SLOT_TIME, slottime << 10);
(void)otus_write_barrier(sc);
}