ops, a wrong bit mask
authorMirko Banchi <mk.banchi@gmail.com>
Thu, 05 Aug 2010 19:45:55 +0200
changeset 6488 0acf7562923c
parent 6487 6d7b589a97a3
child 6489 ad7efe876e91
ops, a wrong bit mask
src/devices/wifi/mac-low.cc
--- a/src/devices/wifi/mac-low.cc	Thu Aug 05 11:36:22 2010 -0400
+++ b/src/devices/wifi/mac-low.cc	Thu Aug 05 19:45:55 2010 +0200
@@ -1731,7 +1731,7 @@
           /* All packets with smaller sequence than starting sequence control must be passed up to Wifimac 
            * See 9.10.3 in IEEE8022.11e standard.
            */
-          RxCompleteBufferedPacketsWithSmallerSequence ((startingSeqCtrl>>4)&0xfff0, originator, tid);
+          RxCompleteBufferedPacketsWithSmallerSequence ((startingSeqCtrl>>4)&0x0fff, originator, tid);
 
           std::list<BufferedPacket>::iterator i = (*it).second.second.begin ();