diff options
| author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2015-12-13 20:48:24 +0000 |
|---|---|---|
| committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2015-12-13 20:48:24 +0000 |
| commit | bdfff33ff64cbdceaa31a4b62578b24686391d90 (patch) | |
| tree | b814d4d67532060ec79203f4a600bc5f31291fbd /sys/dev/otus | |
| parent | 375a8ff19bdabffdd79ec2ea0f138105adc4249e (diff) | |
Notes
Diffstat (limited to 'sys/dev/otus')
| -rw-r--r-- | sys/dev/otus/if_otus.c | 2 |
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); } |
