wifi(implementation): Return proper status code on initialize am: a1c76e4d53

am: c51e74d572

Change-Id: I4bb4c392e3b714417b9823d4a3c5eb6e878e6fec
This commit is contained in:
Roshan Pius 2017-03-21 21:48:29 +00:00 committed by android-build-merger
commit c8fdd97297

View file

@ -328,9 +328,8 @@ wifi_error WifiLegacyHal::initialize() {
wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_);
if (status != WIFI_SUCCESS) {
LOG(ERROR) << "Failed to initialize legacy hal function table";
return WIFI_ERROR_UNKNOWN;
}
return WIFI_SUCCESS;
return status;
}
wifi_error WifiLegacyHal::start() {