changeset 2054 | ba8e810bae4c |
parent 2024 | 7e034c2a63d3 |
child 2088 | a651a0131bfe |
--- a/src/devices/wifi/mac-low.cc Wed Oct 31 11:45:04 2007 +0100 +++ b/src/devices/wifi/mac-low.cc Wed Oct 31 12:05:25 2007 +0100 @@ -237,6 +237,7 @@ MacLow::~MacLow () { CancelAllEvents (); + m_phy = 0; } void @@ -304,7 +305,7 @@ m_device = device; } void -MacLow::SetPhy (WifiPhy *phy) +MacLow::SetPhy (Ptr<WifiPhy> phy) { m_phy = phy; }