Page MenuHomeFreeBSD

D59761.id186962.diff
No OneTemporary

D59761.id186962.diff

diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -2,7 +2,7 @@
* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) AND ISC
*/
-/* $OpenBSD: if_iwx.c,v 1.178 2023/12/20 07:32:05 stsp Exp $ */
+/* $OpenBSD: if_iwx.c,v 1.179 2023/12/20 07:33:32 stsp Exp $ */
/*
*
@@ -5955,9 +5955,7 @@
resp_len = iwx_rx_packet_payload_len(pkt);
/* Some firmware versions don't provide a response. */
- if (resp_len == 0)
- goto out;
- else if (resp_len != sizeof(*resp)) {
+ if (resp_len != sizeof(*resp)) {
err = EIO;
goto out;
}
@@ -6055,11 +6053,6 @@
goto done;
}
- /*
- * XXX-THJ: iwx_wait_tx_queues_empty was here, but it was a nope in the
- * fc drive rand has has been replaced in OpenBSD.
- */
-
err = iwx_drain_sta(sc, in, 0);
done:
sc->sc_flags &= ~IWX_FLAG_TXFLUSH;

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 23, 2:30 PM (3 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39018761
Default Alt Text
D59761.id186962.diff (870 B)

Event Timeline