mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 07:37:46 +00:00
[network-diagnostic] fix ConnectivityTlv::GetParentPriority() (#5360)
This commit is contained in:
@@ -164,7 +164,7 @@ public:
|
||||
* @returns The Parent Priority value.
|
||||
*
|
||||
*/
|
||||
int8_t GetParentPriority(void) const { return (mParentPriority & kParentPriorityOffset) >> kParentPriorityOffset; }
|
||||
int8_t GetParentPriority(void) const { return (mParentPriority & kParentPriorityMask) >> kParentPriorityOffset; }
|
||||
|
||||
/**
|
||||
* This method sets the Parent Priority value.
|
||||
|
||||
Reference in New Issue
Block a user