Page MenuHomeFreeBSD

D7371.id18905.diff
No OneTemporary

D7371.id18905.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
Thu, Dec 26, 1:44 AM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15600322
Default Alt Text
D7371.id18905.diff (544 B)

Event Timeline