mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 01:25:41 +08:00
Re-enabling the D-Star networking resets the incoming session id.
This commit is contained in:
@@ -310,6 +310,9 @@ void CDStarNetwork::close()
|
|||||||
|
|
||||||
void CDStarNetwork::enable(bool enabled)
|
void CDStarNetwork::enable(bool enabled)
|
||||||
{
|
{
|
||||||
|
if (enabled && !m_enabled)
|
||||||
|
reset();
|
||||||
|
|
||||||
m_enabled = enabled;
|
m_enabled = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user