no need to reference WifiNetDevice
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 11 Jun 2008 12:35:02 -0700
changeset 3889 f35819202b66
parent 3888 a15618dcd0eb
child 3890 63910e38db95
no need to reference WifiNetDevice
src/devices/wifi/mac-low.h
src/devices/wifi/wifi-mac.h
--- a/src/devices/wifi/mac-low.h	Wed Jun 11 11:52:40 2008 -0700
+++ b/src/devices/wifi/mac-low.h	Wed Jun 11 12:35:02 2008 -0700
@@ -36,7 +36,6 @@
 
 namespace ns3 {
 
-class WifiNetDevice;
 class WifiPhy;
 class WifiMac;
 
--- a/src/devices/wifi/wifi-mac.h	Wed Jun 11 11:52:40 2008 -0700
+++ b/src/devices/wifi/wifi-mac.h	Wed Jun 11 12:35:02 2008 -0700
@@ -138,8 +138,6 @@
    */
   virtual void SetSsid (Ssid ssid) = 0;
 
-private:
-  friend class WifiNetDevice;
   /**
    * \param packet the packet to send.
    * \param to the address to which the packet should be sent.
@@ -169,6 +167,8 @@
    * \param linkDown the callback to invoke when the link becomes down.
    */
   virtual void SetLinkDownCallback (Callback<void> linkDown) = 0;
+private:
+
 
 
   static Time GetDefaultMaxPropagationDelay (void);