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>

authored by Helmut Schaa and committed by John W. Linville fcf8bd3b 5312c3f6

+1 -1
+1 -1
net/mac80211/rx.c
··· 2541 * same TID from the same station 2542 */ 2543 rx->skb = skb; 2544 - rx->flags = 0; 2545 2546 CALL_RXH(ieee80211_rx_h_decrypt) 2547 CALL_RXH(ieee80211_rx_h_check_more_data) ··· 2611 .sdata = sta->sdata, 2612 .local = sta->local, 2613 .queue = tid, 2614 }; 2615 struct tid_ampdu_rx *tid_agg_rx; 2616
··· 2541 * same TID from the same station 2542 */ 2543 rx->skb = skb; 2544 2545 CALL_RXH(ieee80211_rx_h_decrypt) 2546 CALL_RXH(ieee80211_rx_h_check_more_data) ··· 2612 .sdata = sta->sdata, 2613 .local = sta->local, 2614 .queue = tid, 2615 + .flags = 0, 2616 }; 2617 struct tid_ampdu_rx *tid_agg_rx; 2618