From 2f1ebdf40c959120884d7fe9a707850fdcb78cb3 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 18 Apr 2017 12:47:01 -0700 Subject: [PATCH] `Mac`: Increase beacon frame tx attempts (#1618) This commit changes/increases the max attempts for a beacon frame to `kDirectFrameMacTxAttempts` (direct frame tx attempts). --- src/core/mac/mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index edb66c0a8..5d5eef24d 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -759,7 +759,7 @@ void Mac::HandleBeginTransmit(void) sendFrame.SetChannel(mChannel); SendBeacon(sendFrame); sendFrame.SetSequence(mBeaconSequence++); - sendFrame.SetMaxTxAttempts(kIndirectFrameMacTxAttempts); + sendFrame.SetMaxTxAttempts(kDirectFrameMacTxAttempts); break; case kStateTransmitData: