artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d9e6f
)
avoid uninitialised var use if qwx_core_fetch_bdf() errors
author
jsg
<jsg@openbsd.org>
Fri, 9 Feb 2024 12:45:10 +0000
(12:45 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 9 Feb 2024 12:45:10 +0000
(12:45 +0000)
ok stsp@
sys/dev/ic/qwx.c
patch
|
blob
|
history
diff --git
a/sys/dev/ic/qwx.c
b/sys/dev/ic/qwx.c
index
f4e6c5d
..
b523d6f
100644
(file)
--- a/
sys/dev/ic/qwx.c
+++ b/
sys/dev/ic/qwx.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: qwx.c,v 1.3
1 2024/02/09 09:59:01 stsp Exp $
*/
+/* $OpenBSD: qwx.c,v 1.3
2 2024/02/09 12:45:10 jsg Exp $
*/
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
@@
-8378,7
+8378,7
@@
qwx_qmi_load_bdf_qmi(struct qwx_softc *sc, int regdb)
ret = qwx_core_fetch_bdf(sc, &data, &len, &boardfw, &boardfw_len,
regdb ? ATH11K_REGDB_FILE : ATH11K_BOARD_API2_FILE);
if (ret)
-
goto ou
t;
+
return re
t;
if (regdb)
bdf_type = ATH11K_QMI_BDF_TYPE_REGDB;