Author: rpaulo
Date: Sun Mar 28 12:55:31 2010
New Revision: 205791
URL: http://svn.freebsd.org/changeset/base/205791

Log:
  Add a comment explaining the previous commit.
  
  Submitted by: sam
  > Description of fields to fill in above:                     76 columns --|
  > PR:            If a GNATS PR is affected by the change.
  > Submitted by:  If someone else sent in the change.
  > Reviewed by:   If someone else reviewed your modification.
  > Approved by:   If you needed approval for this commit.
  > Obtained from: If the change is from a third party.
  > MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
  > Security:      Vulnerability reference (one per line) or description.
  > Empty fields above will be automatically removed.
  
  M    ieee80211_hostap.c

Modified:
  head/sys/net80211/ieee80211_hostap.c

Modified: head/sys/net80211/ieee80211_hostap.c
==============================================================================
--- head/sys/net80211/ieee80211_hostap.c        Sun Mar 28 11:22:38 2010        
(r205790)
+++ head/sys/net80211/ieee80211_hostap.c        Sun Mar 28 12:55:31 2010        
(r205791)
@@ -883,6 +883,11 @@ hostap_input(struct ieee80211_node *ni, 
                        wh = mtod(m, struct ieee80211_frame *);
                        wh->i_fc[1] &= ~IEEE80211_FC1_WEP;
                }
+               /*
+                * Pass the packet to radiotap before calling iv_recv_mgmt().
+                * Otherwise iv_recv_mgmt() might pass another packet to
+                * radiotap, resulting in out of order packet captures.
+                */
                if (ieee80211_radiotap_active_vap(vap))
                        ieee80211_radiotap_rx(vap, m);
                need_tap = 0;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to