]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde7ed56c306a2da82294b9826b7feb34c84fa205
tree8c3c05ff4bb73bf05de06d050e3173b724e005ae
parent3c34115da5d6c823dbbb5109101465c79f8803d2
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 5d383b75fee5a699dc6216ac3f85be35b1f837a1
(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