mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
b256b2fdc7
commit
3d14c20224
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue