staging: vt6656: Just check NEWRSR_DECRYPTOK for RX_FLAG_DECRYPTED.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 19 Jan 2020 12:04:05 +0000 (12:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jan 2020 08:52:38 +0000 (09:52 +0100)
commit1ca9c731057994e5b1f98e9869127af61f3c0cd3
tree4d7f980d765690dfc5cd821c932be603b3160965
parentb653174327e989cbc97f545ce33d30e1fe9de532
staging: vt6656: Just check NEWRSR_DECRYPTOK for RX_FLAG_DECRYPTED.

At present the driver does a number of checks for RX_FLAG_DECRYPTED.

Remove all these and just pass check NEWRSR_DECRYPTOK mac80211
will handle the processing of the sk_buff and dispose of it.

This means that mac80211 can do unsupported encryption modes
on stack.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/75bbaa08-2465-b057-64ce-b67933409bc6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/dpc.c