mac80211: Fix duplicate frames on cooked monitor
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 1 Apr 2011 13:46:05 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 19:22:11 +0000 (15:22 -0400)
commitfcf8bd3ba5362682f945a3f838070ac5e10ff871
tree8c3c05ff4bb73bf05de06d050e3173b724e005ae
parent5312c3f60ba49073081b2dc421f9f3c22dd43d99
mac80211: Fix duplicate frames on cooked monitor

Cleaning the ieee80211_rx_data.flags field here is wrong, instead the
flags should be valid accross processing the frame on different
interfaces. Fix this by removing the incorrect flags=0 assignment.

Introduced in commit 554891e63a29af35cc6bb403ef34e319518114d0
(mac80211: move packet flags into packet).

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c