Skip to content

Commit

Permalink
Merge pull request #11556 from mikter/master
Browse files Browse the repository at this point in the history
modified Wi-SUN tasklet to return success when calling connect twice
  • Loading branch information
0xc0170 authored Oct 18, 2019
2 parents 7ba151a + 86e3a5a commit 9e87200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/nanostack/nanostack-interface/Nanostack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ nsapi_error_t map_mesh_error(mesh_error_t err)
case MESH_ERROR_PARAM:
return NSAPI_ERROR_PARAMETER;
case MESH_ERROR_STATE:
return NSAPI_ERROR_DEVICE_ERROR;
return NSAPI_ERROR_IS_CONNECTED;
default:
return NSAPI_ERROR_DEVICE_ERROR;
}
Expand Down

0 comments on commit 9e87200

Please sign in to comment.