wifi: Fix WifiMode::IsAllowed for non-VHT mode
authorSébastien Deronne <sebastien.deronne@gmail.com>
Wed, 05 Dec 2018 21:47:12 +0100
changeset 13889 207a8e737d20
parent 13888 231e5749e563
child 13890 b6be8762cc18
wifi: Fix WifiMode::IsAllowed for non-VHT mode
src/wifi/model/wifi-mode.cc
--- a/src/wifi/model/wifi-mode.cc	Wed Dec 05 01:16:07 2018 +0300
+++ b/src/wifi/model/wifi-mode.cc	Wed Dec 05 21:47:12 2018 +0100
@@ -96,12 +96,6 @@
           return false;
         }
     }
-  else
-    {
-      //We should not go here!
-      NS_ASSERT (false);
-      return false;
-    }
   return true;
 }