src/devices/wifi/mac-low.cc
changeset 2163 03fe5e8740dc
parent 2159 20f882e85b4a
child 2172 eb1adef495b6
equal deleted inserted replaced
2162:4bf1541c02cf 2163:03fe5e8740dc
   907 {
   907 {
   908   /* send this packet directly. No RTS is needed. */
   908   /* send this packet directly. No RTS is needed. */
   909   StartDataTxTimers ();
   909   StartDataTxTimers ();
   910 
   910 
   911   WifiMode dataTxMode = GetDataTxMode (m_currentHdr.GetAddr1 (), GetCurrentSize ());
   911   WifiMode dataTxMode = GetDataTxMode (m_currentHdr.GetAddr1 (), GetCurrentSize ());
   912   Time duration = Seconds (0);
   912   Time duration = Seconds (0.0);
   913   if (m_txParams.HasDurationId ()) 
   913   if (m_txParams.HasDurationId ()) 
   914     {
   914     {
   915       duration += m_txParams.GetDurationId ();
   915       duration += m_txParams.GetDurationId ();
   916     } 
   916     } 
   917   else 
   917   else