lr-wpan: Fix incorrect param in AssociateConfirm
This commit is contained in:
@@ -34,6 +34,7 @@ Release 3-dev
|
||||
- (wifi) - #942 - Trace expired MPDUs before removing them from the queue to avoid blocking the recipient buffer
|
||||
- (wifi) - Fix wrong condition preventing PHY from aborting RX when starting TX
|
||||
- (lr-wpan) - #944 - Fix for-loop in PrintTxQueue(s) functions
|
||||
- (lr-wpan) - Fix incorrect return parameter in the MAC MlmeAssociateConfirm
|
||||
|
||||
Release 3.39
|
||||
------------
|
||||
|
||||
@@ -3193,15 +3193,13 @@ LrWpanMac::PdDataConfirm(LrWpanPhyEnumeration status)
|
||||
switch (receivedMacPayload.GetAssociationStatus())
|
||||
{
|
||||
case CommandPayloadHeader::SUCCESSFUL:
|
||||
confirmParams.m_status =
|
||||
LrWpanMlmeAssociateConfirmStatus::MLMEASSOC_SUCCESS;
|
||||
// The original short address used in the association
|
||||
// used in the association request
|
||||
confirmParams.m_assocShortAddr = GetShortAddress();
|
||||
|
||||
// The assigned short address by the coordinator
|
||||
SetShortAddress(receivedMacPayload.GetShortAddr());
|
||||
m_macPanId = receivedMacHdr.GetSrcPanId();
|
||||
|
||||
confirmParams.m_status =
|
||||
LrWpanMlmeAssociateConfirmStatus::MLMEASSOC_SUCCESS;
|
||||
confirmParams.m_assocShortAddr = GetShortAddress();
|
||||
break;
|
||||
case CommandPayloadHeader::FULL_CAPACITY:
|
||||
confirmParams.m_status =
|
||||
|
||||
Reference in New Issue
Block a user