mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 09:07:47 +00:00
[mle] ensure reserved bit in Mode TLV is set (#6107)
This commit is contained in:
@@ -345,10 +345,7 @@ public:
|
||||
* @param[in] aMode A mode TLV bitmask to initialize the `DeviceMode` object.
|
||||
*
|
||||
*/
|
||||
explicit DeviceMode(uint8_t aMode)
|
||||
: mMode(aMode)
|
||||
{
|
||||
}
|
||||
explicit DeviceMode(uint8_t aMode) { Set(aMode); }
|
||||
|
||||
/**
|
||||
* This constructor initializes a `DeviceMode` object from a given mode configuration structure.
|
||||
|
||||
Reference in New Issue
Block a user