Bug 2136 [wifi] - The usage of tid in wifi and wave module shall be if (tid > 7) rather than if (tid >= 7)
authorJunling Bu <linlinjavaer@gmail.com>
Sun, 07 Jun 2015 16:42:28 +0200
changeset 11426 e2441f5f2c55
parent 11425 25285387c6ce
child 11427 5681a1db3cb3
Bug 2136 [wifi] - The usage of tid in wifi and wave module shall be if (tid > 7) rather than if (tid >= 7)
src/wave/model/ocb-wifi-mac.cc
src/wifi/model/adhoc-wifi-mac.cc
src/wifi/model/ap-wifi-mac.cc
src/wifi/model/sta-wifi-mac.cc
--- a/src/wave/model/ocb-wifi-mac.cc	Sat Jun 06 18:21:26 2015 +0200
+++ b/src/wave/model/ocb-wifi-mac.cc	Sun Jun 07 16:42:28 2015 +0200
@@ -190,7 +190,7 @@
       // Any value greater than 7 is invalid and likely indicates that
       // the packet had no QoS tag, so we revert to zero, which'll
       // mean that AC_BE is used.
-      if (tid >= 7)
+      if (tid > 7)
         {
           tid = 0;
         }
--- a/src/wifi/model/adhoc-wifi-mac.cc	Sat Jun 06 18:21:26 2015 +0200
+++ b/src/wifi/model/adhoc-wifi-mac.cc	Sun Jun 07 16:42:28 2015 +0200
@@ -119,7 +119,7 @@
       // Any value greater than 7 is invalid and likely indicates that
       // the packet had no QoS tag, so we revert to zero, which'll
       // mean that AC_BE is used.
-      if (tid >= 7)
+      if (tid > 7)
         {
           tid = 0;
         }
--- a/src/wifi/model/ap-wifi-mac.cc	Sat Jun 06 18:21:26 2015 +0200
+++ b/src/wifi/model/ap-wifi-mac.cc	Sun Jun 07 16:42:28 2015 +0200
@@ -207,7 +207,7 @@
       // Any value greater than 7 is invalid and likely indicates that
       // the packet had no QoS tag, so we revert to zero, which'll
       // mean that AC_BE is used.
-      if (tid >= 7)
+      if (tid > 7)
         {
           tid = 0;
         }
--- a/src/wifi/model/sta-wifi-mac.cc	Sat Jun 06 18:21:26 2015 +0200
+++ b/src/wifi/model/sta-wifi-mac.cc	Sun Jun 07 16:42:28 2015 +0200
@@ -377,7 +377,7 @@
       // Any value greater than 7 is invalid and likely indicates that
       // the packet had no QoS tag, so we revert to zero, which'll
       // mean that AC_BE is used.
-      if (tid >= 7)
+      if (tid > 7)
         {
           tid = 0;
         }