diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-04 12:04:17 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-11-04 12:04:17 +0000 |
commit | 85b82469af58b51764e735f471d5ad7ec4a823af (patch) | |
tree | c27ee7086e00df33a38110951b683b5330c20170 /sys | |
parent | bc24a4c695fdade52f616dc281c0780afcba3171 (diff) |
Fix handling of iwm_sf_config() input argument.
Same change as dragonfly commit 666737f64b4f6dd42ffd9f0ace9fc46ccc1ebaab
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 44fd45d72d0..9a0ec318531 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.271 2019/11/04 12:01:59 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.272 2019/11/04 12:04:16 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh <info@genua.de> @@ -6341,7 +6341,7 @@ iwm_sf_config(struct iwm_softc *sc, int new_state) { struct ieee80211com *ic = &sc->sc_ic; struct iwm_sf_cfg_cmd sf_cmd = { - .state = htole32(IWM_SF_FULL_ON), + .state = htole32(new_state), }; int err = 0; |