mirror of
https://github.com/openharmony/drivers_peripheral.git
synced 2026-08-24 18:15:56 -04:00
fix updater mode fail to build wpa
Signed-off-by: benlau <liubin360@huawei.com>
This commit is contained in:
@@ -89,6 +89,7 @@ if (defined(ohos_lite)) {
|
||||
]
|
||||
install_images = [
|
||||
chipset_base_dir,
|
||||
updater_vendor_base_dir,
|
||||
]
|
||||
subsystem_name = "hdf"
|
||||
part_name = "drivers_peripheral_ethernet"
|
||||
|
||||
@@ -118,10 +118,6 @@ int WpaCliCmd(const char *cmd, char *buf, size_t bufLen)
|
||||
return ret;
|
||||
}
|
||||
ret = StaCliCmd(GetEthWpaInsCtrl(), cmd, buf, bufLen);
|
||||
if (strncmp(cmd, "TERMINATE", strlen("TERMINATE")) == 0) {
|
||||
ReleaseEthWpaGlobalInstance();
|
||||
HDF_LOGI("%{public}s: call ReleaseEthWpaGlobalInstance finish", __func__);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user