[Zrouter-src-freebsd] [rt2860-in-ral] push by r... at ddteam.net - Mask WCID at RT2860_REG_TX_STA_FIFO read on 2012-03-21 12:02 GMT

rt2860-in-ral at googlecode.com rt2860-in-ral at googlecode.com
Wed Mar 21 12:04:31 UTC 2012


Revision: 1c6bb6abb771
Author:   ray at ddteam.net
Date:     Wed Mar 21 05:02:03 2012
Log:      Mask WCID at RT2860_REG_TX_STA_FIFO read
http://code.google.com/p/rt2860-in-ral/source/detail?r=1c6bb6abb771

Modified:
  /sys/dev/ral/rt2860.c

=======================================
--- /sys/dev/ral/rt2860.c	Wed Mar 14 06:43:30 2012
+++ /sys/dev/ral/rt2860.c	Wed Mar 21 05:02:03 2012
@@ -5789,7 +5789,7 @@
  	while ((stats = RAL_READ(sc, RT2860_REG_TX_STA_FIFO)) &
  		RT2860_TXQ_VLD) {

-		wcid = (stats >> RT2860_TXQ_WCID_SHIFT);
+		wcid = ((stats & RT2860_TXQ_WCID_SHIFT ) >> RT2860_TXQ_WCID_SHIFT);

  		/* if no ACK was requested, no feedback is available */



More information about the Zrouter-src-freebsd mailing list