WiFiInterface: remove connect implementation

We do not want to mix Ethernet and Wifi at the moment, thus WiFiInterface
should implement own connect using emac.
pull/3975/head
Martin Kojtal 2016-09-28 09:54:59 +01:00
parent b256b2fdc7
commit 3d14c20224
1 changed files with 0 additions and 9 deletions

View File

@ -60,12 +60,3 @@ int WiFiInterface::set_credentials(const char *ssid, const char *pass, nsapi_sec
return 0;
}
int WiFiInterface::connect()
{
if (!_ssid || !_pass) {
return NSAPI_ERROR_PARAMETER;
}
return connect(_ssid, _pass, _security);
}