]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: Fix return for unsupported cipher modes.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 2 Feb 2020 12:28:07 +0000 (12:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 00:22:56 +0000 (16:22 -0800)
commitcd66a74f66fd41b0423f3d51014b339e870b7874
tree10f5c021a358eccd0789b98eb5c642db3b78091d
parent355d1963d1e9590fd0706152b30c276f22d06ced
staging: vt6656: Fix return for unsupported cipher modes.

mac80211 expect to see -EOPNOTSUPP on unsupported ciphers so
these can be done on stack.

correct all the returns to do this.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/b65a3b23-735f-f679-0f16-a54c3266b5ae@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/key.c
drivers/staging/vt6656/main_usb.c