wifi: Fix PHY ID and operating channel reported in WifiPhy logs in case of multi link
This commit is contained in:
@@ -49,9 +49,8 @@
|
||||
|
||||
#undef NS_LOG_APPEND_CONTEXT
|
||||
#define NS_LOG_APPEND_CONTEXT \
|
||||
WIFI_PHY_NS_LOG_APPEND_CONTEXT((m_device && m_device->GetPhy() \
|
||||
? m_device->GetPhy(m_device->GetPhy()->GetPhyId()) \
|
||||
: nullptr))
|
||||
WIFI_PHY_NS_LOG_APPEND_CONTEXT( \
|
||||
(m_device && m_device->GetPhy(m_phyId) ? m_device->GetPhy(m_phyId) : nullptr))
|
||||
|
||||
namespace ns3
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user