File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22
22
static inline ConnectionHandler* instantiate_handler (NetworkAdapter adapter);
23
23
24
24
bool GenericConnectionHandler::updateSetting (const models::NetworkSetting& s) {
25
-
26
- if (_ch != nullptr && _ch->_current_net_connection_state != NetworkConnectionState::INIT) {
25
+ if (_ch != nullptr && _current_net_connection_state != NetworkConnectionState::INIT) {
27
26
// If the internal connection handler is already being used and not in INIT phase we cannot update the settings
28
27
return false ;
29
- } else if (_ch != nullptr && _ch-> _current_net_connection_state == NetworkConnectionState::INIT && _interface != s.type ) {
28
+ } else if (_ch != nullptr && _current_net_connection_state == NetworkConnectionState::INIT && _interface != s.type ) {
30
29
// If the internal connection handler is already being used and in INIT phase and the interface type is being changed
31
30
// -> we need to deallocate the previously allocated handler
32
31
You can’t perform that action at this time.
0 commit comments