mirror of https://github.com/ARMmbed/mbed-os.git
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
commit
0cc134586c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue