diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-09-29 09:58:30 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-10-20 11:57:40 +0200 |
commit | deb8534e8ef3905b5a977486d11d4d36b4f94347 (patch) | |
tree | e704403a5d02396bf45dfb129b605801a0bdf7ff /net/tipc/sysctl.c | |
parent | acff76fa45b487a9dd7573a6f4d34daca6f0c045 (diff) |
can: gs_usb: gs_can_open(): allow loopback and listen only at the same time
There's no reason why loopback and listen only should not be allowed
at the same time. Replace the "else if" by "if" to reflect this in the
code.
Link: https://lore.kernel.org/all/20221019221016.1659260-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions