Merge pull request #8851 from KariHaapalehto/disconnect_error_code_change

Change error code from NSAPI_ERROR_PARAMETER to NSAPI_ERROR_NO_CONNEC…
pull/8866/head
Martin Kojtal 2018-11-26 11:03:51 +01:00 committed by GitHub
commit 0cc134586c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ nsapi_error_t LWIP::Interface::bringdown()
{
// Check if we've connected
if (connected == NSAPI_STATUS_DISCONNECTED) {
return NSAPI_ERROR_PARAMETER;
return NSAPI_ERROR_NO_CONNECTION;
}
#if LWIP_DHCP