File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
features/cellular/framework/device Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,6 @@ nsapi_error_t CellularDevice::attach_to_network()
117
117
118
118
nsapi_error_t CellularDevice::create_state_machine ()
119
119
{
120
- _nw = open_network (_fh);
121
- // Attach to network so we can get update status from the network
122
- _nw->attach (callback (this , &CellularDevice::stm_callback));
123
-
124
120
nsapi_error_t err = NSAPI_ERROR_OK;
125
121
if (!_state_machine) {
126
122
_nw = open_network (_fh);
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ void CellularStateMachine::state_sim_pin()
406
406
407
407
void CellularStateMachine::state_signal_quality ()
408
408
{
409
- _cb_data.error = _network-> get_signal_quality (_signal_quality.rssi , &_signal_quality.ber );
409
+ _cb_data.error = _network. get_signal_quality (_signal_quality.rssi , &_signal_quality.ber );
410
410
411
411
if (_cb_data.error != NSAPI_ERROR_OK) {
412
412
retry_state_or_fail ();
You can’t perform that action at this time.
0 commit comments