mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Fix *Network::isConnected().
As m_enabled is changed accordingly to the modem current mode, it's not valid to use it for network connexion status.
This commit is contained in:
@@ -185,7 +185,7 @@ void CYSFNetwork::reset()
|
||||
|
||||
bool CYSFNetwork::isConnected() const
|
||||
{
|
||||
return (m_enabled && (m_addrLen != 0));
|
||||
return (m_addrLen != 0);
|
||||
}
|
||||
|
||||
void CYSFNetwork::close()
|
||||
|
||||
Reference in New Issue
Block a user