Packets might still be needed by other VAPs (like station VAP)
authorbenoit <benoit@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 2 Jan 2008 11:21:37 +0000 (11:21 +0000)
committerbenoit <benoit@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Wed, 2 Jan 2008 11:21:37 +0000 (11:21 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3107 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath.c

index 288cb2de14bf2243c4832f6f6a2f08cba87b78a3..26121bb33e467f2ddd3319f6975e6eae96df625b 100644 (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