summaryrefslogtreecommitdiffstats
path: root/sys/dev/wpi
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-05-03 22:10:28 +0000
committeradrian <adrian@FreeBSD.org>2015-05-03 22:10:28 +0000
commit4a2e2c95f3a37404d64defde9c4ecd149e45e0e5 (patch)
treef5610dff73390592d0645c2a80a905d600b2722c /sys/dev/wpi
parent4219fbbd791e6f321896d6a9589cf759a6491be9 (diff)
downloadFreeBSD-src-4a2e2c95f3a37404d64defde9c4ecd149e45e0e5.zip
FreeBSD-src-4a2e2c95f3a37404d64defde9c4ecd149e45e0e5.tar.gz
Remove this; it's currently a no-op.
History note: it's good to document what the driver expects like this even if it's currently a no-op. Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
Diffstat (limited to 'sys/dev/wpi')
-rw-r--r--sys/dev/wpi/if_wpi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index e764f52..0e79798 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -4274,8 +4274,6 @@ wpi_run(struct wpi_softc *sc, struct ieee80211vap *vap)
sc->rxon.flags = htole32(WPI_RXON_TSF | WPI_RXON_CTS_TO_SELF);
if (IEEE80211_IS_CHAN_2GHZ(ni->ni_chan))
sc->rxon.flags |= htole32(WPI_RXON_AUTO | WPI_RXON_24GHZ);
- /* Short preamble and slot time are negotiated when associating. */
- sc->rxon.flags &= ~htole32(WPI_RXON_SHPREAMBLE | WPI_RXON_SHSLOT);
if (ic->ic_flags & IEEE80211_F_SHSLOT)
sc->rxon.flags |= htole32(WPI_RXON_SHSLOT);
if (ic->ic_flags & IEEE80211_F_SHPREAMBLE)
OpenPOWER on IntegriCloud