diff --git a/src/dsr/model/dsr-rcache.cc b/src/dsr/model/dsr-rcache.cc index d0cc2e1db..6f326156d 100644 --- a/src/dsr/model/dsr-rcache.cc +++ b/src/dsr/model/dsr-rcache.cc @@ -164,7 +164,6 @@ DsrRouteCache::DsrRouteCache() */ m_ntimer.SetDelay(m_delay); m_ntimer.SetFunction(&DsrRouteCache::PurgeMac, this); - m_txErrorCallback = MakeCallback(&DsrRouteCache::ProcessTxError, this); } DsrRouteCache::~DsrRouteCache() diff --git a/src/dsr/model/dsr-rcache.h b/src/dsr/model/dsr-rcache.h index 74a71321a..43572343f 100644 --- a/src/dsr/model/dsr-rcache.h +++ b/src/dsr/model/dsr-rcache.h @@ -766,16 +766,6 @@ class DsrRouteCache : public Object */ void DelArpCache(Ptr); - /** - * \brief Get callback to ProcessTxError, this callback is trying to use the wifi mac tx error - * header to notify a link layer drop event, however, it is not fully supported yet - * \return The callback to ProcessTxError - */ - Callback GetTxErrorCallback() const - { - return m_txErrorCallback; - } - /** * Handle link failure callback * \param cb the callback to be set @@ -912,8 +902,6 @@ class DsrRouteCache : public Object */ Callback m_handleLinkFailure; ///< link failure callback - Callback m_txErrorCallback; ///< TX error callback - Timer m_ntimer; ///< Timer for neighbor's list. Schedule Purge(). std::vector m_nb; ///< vector of entries diff --git a/src/dsr/model/dsr-routing.cc b/src/dsr/model/dsr-routing.cc index b951cc59d..50a217f57 100644 --- a/src/dsr/model/dsr-routing.cc +++ b/src/dsr/model/dsr-routing.cc @@ -579,8 +579,6 @@ DsrRouting::DoDispose() Ptr adhoc = mac->GetObject(); if (adhoc) { - adhoc->TraceDisconnectWithoutContext("TxErrHeader", - m_routeCache->GetTxErrorCallback()); m_routeCache->DelArpCache(m_ipv4->GetInterface(i)->GetArpCache()); } }