Page MenuHomeFreeBSD

D7371.id.diff
No OneTemporary

D7371.id.diff

Index: head/sys/dev/iwm/if_iwm.c
===================================================================
--- head/sys/dev/iwm/if_iwm.c
+++ head/sys/dev/iwm/if_iwm.c
@@ -1310,8 +1310,8 @@
}
/* Wait for DMA channels to be idle */
- if (iwm_poll_bit(sc, IWM_FH_TSSR_TX_STATUS_REG, mask, mask,
- 5000) < 0) {
+ if (!iwm_poll_bit(sc, IWM_FH_TSSR_TX_STATUS_REG, mask, mask,
+ 5000)) {
device_printf(sc->sc_dev,
"Failing on timeout while stopping DMA channel: [0x%08x]\n",
IWM_READ(sc, IWM_FH_TSSR_TX_STATUS_REG));

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 6:58 PM (8 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30836055
Default Alt Text
D7371.id.diff (544 B)

Event Timeline