Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 16:15:21 +0000 (UTC)
From:      Monthadar Al Jaberi <monthadar@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244400 - head/sys/dev/wtap
Message-ID:  <201212181615.qBIGFL8K080498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: monthadar
Date: Tue Dec 18 16:15:20 2012
New Revision: 244400
URL: http://svnweb.freebsd.org/changeset/base/244400

Log:
  wtap should not set the IEEE80211_F_DATAPAD flag;
  
  Approved by: adrian (mentor)

Modified:
  head/sys/dev/wtap/if_wtap.c

Modified: head/sys/dev/wtap/if_wtap.c
==============================================================================
--- head/sys/dev/wtap/if_wtap.c	Tue Dec 18 16:11:13 2012	(r244399)
+++ head/sys/dev/wtap/if_wtap.c	Tue Dec 18 16:15:20 2012	(r244400)
@@ -808,11 +808,7 @@ wtap_attach(struct wtap_softc *sc, const
 	ic->ic_regdomain.location = 1; /* Indoors */
 	ic->ic_regdomain.isocc[0] = 'S';
 	ic->ic_regdomain.isocc[1] = 'E';
-	/*
-	 * Indicate we need the 802.11 header padded to a
-	 * 32-bit boundary for 4-address and QoS frames.
-	 */
-	ic->ic_flags |= IEEE80211_F_DATAPAD;
+
 	ic->ic_nchans = 1;
 	ic->ic_channels[0].ic_flags = IEEE80211_CHAN_B;
 	ic->ic_channels[0].ic_freq = 2412;



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