From 7fd69f6877ee279551f224dbf57553dba23e809f Mon Sep 17 00:00:00 2001 From: mentor Date: Fri, 4 Jan 2008 23:57:35 +0000 Subject: [PATCH] Merge -dfs to trunk - r3116 git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3117 0192ed92-7a03-0410-a25b-9323aeb14dbd --- ath/if_ath.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ath/if_ath.c b/ath/if_ath.c index 4292e23..b988249 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -6193,6 +6193,11 @@ rx_accept: sc->sc_stats.ast_rx_tooshort++; ieee80211_dev_kfree_skb(&skb); goto rx_next; + if (sc->sc_ic.ic_opmode == IEEE80211_M_MONITOR) { + /* no other VAPs need the packet */ + ieee80211_dev_kfree_skb(&skb); + goto rx_next; + } } #endif ath_capture(dev, bf, skb, bf->bf_tsf, 0 /* RX */); -- 2.35.1