diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-03-28 12:55:31 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-03-28 12:55:31 +0000 |
commit | 9eaa28fa3641501bd3b827e9b55aa8240713c80d (patch) | |
tree | d8f3b9209fb8369c79df7d4b98bca88cd7cf0f19 /sys/net80211/ieee80211_hostap.c | |
parent | cb7afff0b8e3e70dd6ec8433f046113b67df2f77 (diff) | |
download | FreeBSD-src-9eaa28fa3641501bd3b827e9b55aa8240713c80d.zip FreeBSD-src-9eaa28fa3641501bd3b827e9b55aa8240713c80d.tar.gz |
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
Diffstat (limited to 'sys/net80211/ieee80211_hostap.c')
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 9f1d3b5..63bcd3c 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -883,6 +883,11 @@ hostap_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf) 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; |