mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00: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:
parent
d26f3ea567
commit
b5420fef15
6 changed files with 6 additions and 6 deletions
|
|
@ -426,7 +426,7 @@ unsigned int CP25Network::read(unsigned char* data, unsigned int length)
|
|||
|
||||
bool CP25Network::isConnected() const
|
||||
{
|
||||
return (m_enabled && (m_addrLen != 0));
|
||||
return (m_addrLen != 0);
|
||||
}
|
||||
|
||||
void CP25Network::close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue