Packets might still be needed by other VAPs (like station VAP)

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3107 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
benoit 2008-01-02 11:21:37 +00:00
parent a3aa87eeb8
commit e429bd14fb

View File

@ -6190,12 +6190,6 @@ rx_accept:
}
#endif
ath_capture(dev, bf, skb, bf->bf_tsf, 0 /* RX */);
if ((sc->sc_nmonvaps > 0) &&
(sc->sc_ic.ic_opmode == IEEE80211_M_MONITOR)) {
/* No other VAPs need the packet. */
ieee80211_dev_kfree_skb(&skb);
goto rx_next;
}
/*
* Finished monitor mode handling, now reject