From: stsp Date: Thu, 25 Jan 2024 10:07:47 +0000 (+0000) Subject: Process scan results in qwx(4) now that we are longer crashing the kernel. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49f51e2c29a5095a7ec06a6bb62762a982027600;p=openbsd Process scan results in qwx(4) now that we are longer crashing the kernel. --- diff --git a/sys/dev/ic/qwx.c b/sys/dev/ic/qwx.c index 33e1bdecaa4..fef49a31605 100644 --- a/sys/dev/ic/qwx.c +++ b/sys/dev/ic/qwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qwx.c,v 1.5 2024/01/25 10:03:20 stsp Exp $ */ +/* $OpenBSD: qwx.c,v 1.6 2024/01/25 10:07:47 stsp Exp $ */ /* * Copyright 2023 Stefan Sperling @@ -11303,12 +11303,8 @@ qwx_wmi_tlv_op_rx(struct qwx_softc *sc, struct mbuf *m) #endif case WMI_MGMT_RX_EVENTID: DPRINTF("%s: 0x%x: mgmt rx event\n", __func__, id); -#if 0 qwx_mgmt_rx_event(sc, m); /* mgmt_rx_event() owns the skb now! */ -#else - m_freem(m); -#endif return; #if 0 case WMI_MGMT_TX_COMPLETION_EVENTID: