summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwn/if_iwnreg.h
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2011-04-15 16:50:37 +0000
committerbschmidt <bschmidt@FreeBSD.org>2011-04-15 16:50:37 +0000
commit0c4b8beabc523badde3f74886e800c68a7a076df (patch)
tree2eba5f823c67f86fc76ba78e3c37481fe72d25a5 /sys/dev/iwn/if_iwnreg.h
parent2a9c0a02ca528901723510d8920a1dc02cf35dd8 (diff)
downloadFreeBSD-src-0c4b8beabc523badde3f74886e800c68a7a076df.zip
FreeBSD-src-0c4b8beabc523badde3f74886e800c68a7a076df.tar.gz
Don't timeout when stopping DMA channels.
Obtained from: OpenBSD
Diffstat (limited to 'sys/dev/iwn/if_iwnreg.h')
-rw-r--r--sys/dev/iwn/if_iwnreg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/iwn/if_iwnreg.h b/sys/dev/iwn/if_iwnreg.h
index 312dd1e..73db87d 100644
--- a/sys/dev/iwn/if_iwnreg.h
+++ b/sys/dev/iwn/if_iwnreg.h
@@ -283,8 +283,7 @@
#define IWN_FH_TX_CHICKEN_SCHED_RETRY (1 << 1)
/* Possible flags for register IWN_FH_TX_STATUS. */
-#define IWN_FH_TX_STATUS_IDLE(chnl) \
- (1 << ((chnl) + 24) | 1 << ((chnl) + 16))
+#define IWN_FH_TX_STATUS_IDLE(chnl) (1 << ((chnl) + 16))
/* Possible flags for register IWN_FH_RX_CONFIG. */
#define IWN_FH_RX_CONFIG_ENA (1 << 31)
OpenPOWER on IntegriCloud