[Zrouter-src-freebsd] [rt2860-in-ral] push by r... at ddteam.net - _MASK not _SHIFT on 2012-03-21 12:03 GMT

rt2860-in-ral at googlecode.com rt2860-in-ral at googlecode.com
Wed Mar 21 12:08:32 UTC 2012


Revision: 10243eb4a396
Author:   ray at ddteam.net
Date:     Wed Mar 21 05:03:06 2012
Log:      _MASK not _SHIFT
http://code.google.com/p/rt2860-in-ral/source/detail?r=10243eb4a396

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

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

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

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



More information about the Zrouter-src-freebsd mailing list