mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +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:
@@ -155,7 +155,7 @@ void CNXDNIcomNetwork::reset()
|
||||
|
||||
bool CNXDNIcomNetwork::isConnected() const
|
||||
{
|
||||
return (m_enabled && (m_addrLen != 0));
|
||||
return (m_addrLen != 0);
|
||||
}
|
||||
|
||||
void CNXDNIcomNetwork::close()
|
||||
|
||||
Reference in New Issue
Block a user