|
|
@ -2346,7 +2346,7 @@ bool CMiniDexed::InitNetwork() |
|
|
|
m_pNet = nullptr; |
|
|
|
m_pNet = nullptr; |
|
|
|
} |
|
|
|
} |
|
|
|
// WPASupplicant needs to be started after netdevice available
|
|
|
|
// WPASupplicant needs to be started after netdevice available
|
|
|
|
if (NetDeviceType == NetDeviceTypeWLAN)
|
|
|
|
if (NetDeviceType == NetDeviceTypeWLAN) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (!m_WPASupplicant.Initialize())
|
|
|
|
if (!m_WPASupplicant.Initialize())
|
|
|
|
{ |
|
|
|
{ |
|
|
@ -2355,6 +2355,7 @@ bool CMiniDexed::InitNetwork() |
|
|
|
LOGERR("Failed to initialize WPASupplicant, maybe wlan config is missing?");
|
|
|
|
LOGERR("Failed to initialize WPASupplicant, maybe wlan config is missing?");
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
m_pNetDevice = CNetDevice::GetNetDevice(NetDeviceType); |
|
|
|
} |
|
|
|
} |
|
|
|
return m_pNet != nullptr; |
|
|
|
return m_pNet != nullptr; |
|
|
|
} |
|
|
|
} |
|
|
|