[armv8crypto] Fix cryptodev probe logic in armv8crypto
authorgonzo <gonzo@FreeBSD.org>
Thu, 22 Oct 2020 04:49:14 +0000 (04:49 +0000)
committergonzo <gonzo@FreeBSD.org>
Thu, 22 Oct 2020 04:49:14 +0000 (04:49 +0000)
commitaa5dd93605966de4a0dd81a2de0d379f8fe734ce
treecbc75fb696783a505d28dd6ae48d1f8dc4274bd4
parent6fcc5bbaa18c1e6e17049fc5ff5e2ec345080477
[armv8crypto] Fix cryptodev probe logic in armv8crypto

Add missing break to prevent falling through to the default case statement
and returning EINVAL for all session configs.

Sponsored by: Ampere Computing
Submitted by: Klara, Inc.
sys/crypto/armv8/armv8_crypto.c