Clear the "persistence bit" on iwx(4) devices during hardware init.
authorstsp <stsp@openbsd.org>
Sun, 18 Jul 2021 12:39:16 +0000 (12:39 +0000)
committerstsp <stsp@openbsd.org>
Sun, 18 Jul 2021 12:39:16 +0000 (12:39 +0000)
commit7f940b398e762745be316c7b73fa45e0a22cd465
tree5839d0624033def0808e8bde1f75a43509bc9784
parentbef7dfb57ba21f02dcfe8c242a4bdb7db4f1d24c
Clear the "persistence bit" on iwx(4) devices during hardware init.

According to iwlwifi commit messages this fixes an edge case where
devices fail to resume after system suspend.
See Linux commit 8954e1eb2270fa2effffd031b4839253952c76f2

Same fix was made for iwm(4) in CVS commit x0XTNdEmudy5oBR4
sys/dev/pci/if_iwx.c