mobility: (fixes #2390) AddWaypoint uses absolute time instead of relative time

This commit is contained in:
Hossam Khader
2016-09-12 23:02:50 +02:00
parent 2c5f5dfd3e
commit 621eae31ca
2 changed files with 2 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ Bugs fixed
- Bug 2379 - BlockAckRequest should not be part of single-TID A-MPDUs
- Bug 2380 - EdcaTxopN fails to retrieve TID for ADDBA requests, ADDBA responses and DELBA frames
- Bug 2383 - IPv4 header for reassembled packets reports a wrong payload size
- Bug 2390 - WaypointMobilityModel::AddWaypoint lazy notify schedules an event using absolute time (should be relative time)
- Bug 2392 - SYN segment advertised window should not be scaled
- Bug 2396 - move utility functions to WifiPhy
- Bug 2397 - add backoff and cw tracing to EDCA

View File

@@ -95,7 +95,7 @@ WaypointMobilityModel::AddWaypoint (const Waypoint &waypoint)
if ( !m_lazyNotify )
{
Simulator::Schedule (waypoint.time, &WaypointMobilityModel::Update, this);
Simulator::Schedule (waypoint.time - Simulator::Now (), &WaypointMobilityModel::Update, this);
}
}
Waypoint