summaryrefslogtreecommitdiffstats
path: root/sys/dev/bwn/if_bwn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bwn/if_bwn.c')
-rw-r--r--sys/dev/bwn/if_bwn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index 0746a8e..93996e2 100644
--- a/sys/dev/bwn/if_bwn.c
+++ b/sys/dev/bwn/if_bwn.c
@@ -2721,8 +2721,7 @@ bwn_updateslot(struct ieee80211com *ic)
BWN_LOCK(sc);
if (sc->sc_flags & BWN_FLAG_RUNNING) {
mac = (struct bwn_mac *)sc->sc_curmac;
- bwn_set_slot_time(mac,
- (ic->ic_flags & IEEE80211_F_SHSLOT) ? 9 : 20);
+ bwn_set_slot_time(mac, IEEE80211_GET_SLOTTIME(ic));
}
BWN_UNLOCK(sc);
}
OpenPOWER on IntegriCloud