Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106080065
D7371.id18905.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D7371.id18905.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7371: [iwm] Fix iwm_poll_bit() usage in iwm_stop_device(), fixup r303418.
Attached
Detach File
Event Timeline
Log In to Comment