From c0ca75b0db2fac9c4fd900a0ba8fe453c4c6156c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 7 Apr 2022 17:01:27 -0700 Subject: [PATCH] otus: Return computed error value instead of ENXIO from otus_raw_xmit. --- sys/dev/otus/if_otus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/otus/if_otus.c b/sys/dev/otus/if_otus.c index e1fac8b72fc..cde1ad990ff 100644 --- a/sys/dev/otus/if_otus.c +++ b/sys/dev/otus/if_otus.c @@ -566,7 +566,7 @@ error: otus_freebuf(sc, bf); OTUS_UNLOCK(sc); m_freem(m); - return (ENXIO); + return (error); } static void