src/devices/wifi/ssid.cc
changeset 1937 996383a87ae3
parent 1888 dbeef4fcff5a
child 1938 f7e9802ea8e3
--- a/src/devices/wifi/ssid.cc	Tue Oct 09 16:40:24 2007 +0200
+++ b/src/devices/wifi/ssid.cc	Tue Oct 09 16:47:34 2007 +0200
@@ -25,6 +25,7 @@
 
 Ssid::Ssid ()
 {
+  m_length = 0;
   for (uint8_t i = 0; i < 33; i++) 
     {
       m_ssid[i] = 0;
@@ -97,28 +98,4 @@
   return size;
 }
 
-void
-Ssid::Peek (uint8_t ssid[32]) const
-{
-  for (uint8_t i = 0; i < 32; i++) 
-    {
-      ssid[i] = m_ssid[i];
-    }
-}
-void 
-Ssid::Set (uint8_t ssid[32], uint32_t len)
-{
-  assert (len < 32);
-  for (uint8_t i = 0; i < len; i++) 
-    {
-      m_ssid[i] = ssid[i];
-    }
-}
-
-Ssid 
-Ssid::GetBroadcast (void)
-{
-  return Ssid ("");
-}
-
-}; // namespace ns3
+} // namespace ns3