rt2x00: Fix MMIC Countermeasures
authorMichael Skeffington <mike@astro.ai>
Mon, 7 Aug 2017 16:47:36 +0000 (12:47 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:53:36 +0000 (14:53 +0300)
commit2db3aaba0a9fc769435477059c1224c439061752
treecf95b16eddda9d9c30f35faa973a2ce934d1157d
parentcb1b82625de7cbf30bb62672776c466615af84d2
rt2x00: Fix MMIC Countermeasures

Set RX_FLAG_DECRYPTED in case of MMIC failure so that
ieee80211_rx_h_decrypt() doesnt drop the frame before getting to
ieee80211_rx_h_michael_mic_verify().

Signed-off-by: Michael Skeffington <mike@astro.ai>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
drivers/net/wireless/ralink/rt2x00/rt2800usb.c