From 49f51e2c29a5095a7ec06a6bb62762a982027600 Mon Sep 17 00:00:00 2001 From: stsp Date: Thu, 25 Jan 2024 10:07:47 +0000 Subject: [PATCH] Process scan results in qwx(4) now that we are longer crashing the kernel. --- sys/dev/ic/qwx.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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: -- 2.20.1