FreeBSD Bugzilla – Attachment 215252 Details for
Bug 246998
iwm: Wireless device not working after resume
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
diff (text/plain), 606 bytes, created by
Mark Johnston
on 2020-06-05 15:13:11 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2020-06-05 15:13:11 UTC
Size:
606 bytes
patch
obsolete
>diff --git a/sys/dev/iwm/if_iwm_pcie_trans.c b/sys/dev/iwm/if_iwm_pcie_trans.c >index 9178a1d2982f..3f3ba21d8ada 100644 >--- a/sys/dev/iwm/if_iwm_pcie_trans.c >+++ b/sys/dev/iwm/if_iwm_pcie_trans.c >@@ -346,8 +346,10 @@ iwm_enable_rfkill_int(struct iwm_softc *sc) > { > sc->sc_intmask = IWM_CSR_INT_BIT_RF_KILL; > IWM_WRITE(sc, IWM_CSR_INT_MASK, sc->sc_intmask); >- IWM_SETBITS(sc, IWM_CSR_GP_CNTRL, >- IWM_CSR_GP_CNTRL_REG_FLAG_RFKILL_WAKE_L1A_EN); >+ >+ if (sc->cfg->device_family >= IWM_DEVICE_FAMILY_9000) >+ IWM_SETBITS(sc, IWM_CSR_GP_CNTRL, >+ IWM_CSR_GP_CNTRL_REG_FLAG_RFKILL_WAKE_L1A_EN); > } > > int
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246998
: 215252