|
@@ -675,6 +675,12 @@ static void rt2800pci_fill_rxdone(struct queue_entry *entry,
|
|
*/
|
|
*/
|
|
rxdesc->flags |= RX_FLAG_IV_STRIPPED;
|
|
rxdesc->flags |= RX_FLAG_IV_STRIPPED;
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * The hardware has already checked the Michael Mic and has
|
|
|
|
+ * stripped it from the frame. Signal this to mac80211.
|
|
|
|
+ */
|
|
|
|
+ rxdesc->flags |= RX_FLAG_MMIC_STRIPPED;
|
|
|
|
+
|
|
if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS)
|
|
if (rxdesc->cipher_status == RX_CRYPTO_SUCCESS)
|
|
rxdesc->flags |= RX_FLAG_DECRYPTED;
|
|
rxdesc->flags |= RX_FLAG_DECRYPTED;
|
|
else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
|
|
else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
|