ARMmbed / wifi-x-nucleo-idw01m1

X-NUCLEO-IDW0xx1 Wi-Fi Driver
3 stars 8 forks source link

Correct disconnect return code, when there isn't connection. #20

Closed KariHaapalehto closed 5 years ago

KariHaapalehto commented 5 years ago

If disconnect is called, when there isn't connection, NSAPI_ERROR_NO_CONNECTION-error code should be returned. At the end of scan disconnect is called, so ignoring NSAPI_ERROR_NO_CONNECTION at scan