mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 12:17:47 +00:00
Fix bug in reading the Connectivity TLV Parent Priority field. (#850)
This commit is contained in:
@@ -1008,7 +1008,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