Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 22:10:29 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282370 - head/sys/dev/wpi
Message-ID:  <201505032210.t43MATKb050148@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun May  3 22:10:28 2015
New Revision: 282370
URL: https://svnweb.freebsd.org/changeset/base/282370

Log:
  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>

Modified:
  head/sys/dev/wpi/if_wpi.c

Modified: head/sys/dev/wpi/if_wpi.c
==============================================================================
--- head/sys/dev/wpi/if_wpi.c	Sun May  3 20:56:33 2015	(r282369)
+++ head/sys/dev/wpi/if_wpi.c	Sun May  3 22:10:28 2015	(r282370)
@@ -4274,8 +4274,6 @@ wpi_run(struct wpi_softc *sc, struct iee
 	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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505032210.t43MATKb050148>