summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2019-10-28 17:34:49 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2019-10-28 17:34:49 +0000
commit8457498ad46f62bdc5e950f01e06b7898543801f (patch)
tree9fbf7f0288c97ba862f4114f58e398cdc564eb5d /sys
parentc07497860b4f178a7450eba2ab52c2c1f3de6efd (diff)
Do not set IWM_SF_CFG_DUMMY_NOTIF_OFF bit in iwm SF_CFG firmware command.
It is only required for devices connected via SDIO which we do not support. Patch by Imre Vadasz ok patrick@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_iwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index 4c2a67452f0..c3fda6b116e 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.259 2019/10/28 17:32:51 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.260 2019/10/28 17:34:48 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -6326,8 +6326,10 @@ iwm_sf_config(struct iwm_softc *sc, int new_state)
};
int err = 0;
+#if 0 /* only used for models with sdio interface, in iwlwifi */
if (sc->sc_device_family == IWM_DEVICE_FAMILY_8000)
sf_cmd.state |= htole32(IWM_SF_CFG_DUMMY_NOTIF_OFF);
+#endif
switch (new_state) {
case IWM_SF_UNINIT: