author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Thu, 18 Oct 2007 14:38:09 +0200 | |
changeset 2006 | 6bb048d50235 |
parent 2005 | c15d40b835b5 |
child 2007 | a5fefe9916a0 |
--- a/src/devices/wifi/mac-high-adhoc.cc Thu Oct 18 14:32:42 2007 +0200 +++ b/src/devices/wifi/mac-high-adhoc.cc Thu Oct 18 14:38:09 2007 +0200 @@ -89,8 +89,9 @@ // supports all the rates we support. for (uint32_t i = 0; i < m_phy->GetNModes (); i++) { - destination->AddSupportedMode (m_phy->GetMode (0)); + destination->AddSupportedMode (m_phy->GetMode (i)); } + destination->RecordDisassociated (); } m_dca->Queue (packet, hdr);