Fix bug in reading the Connectivity TLV Parent Priority field. (#850)

This commit is contained in:
Jonathan Hui
2016-10-20 12:26:35 -07:00
committed by GitHub
parent 871a1565d8
commit 7824a68225
+1 -1
View File
@@ -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.