Signed-off-by: fengye <fengye10@huawei.com>
This commit is contained in:
fengye 2022-11-21 13:42:23 +00:00
parent 9ad54b1201
commit 26c690cb4e

View File

@ -38,7 +38,7 @@ int WifiScanStub::CheckInterfaceToken(uint32_t code, IpcIo *req)
interfaceRead = ReadInterfaceToken(req, &length);
for (size_t i = 0; i < length; i++) {
if (i >= DECLARE_INTERFACE_DESCRIPTOR_L1_LENGTH ||interfaceRead[i] != DECLARE_INTERFACE_DESCRIPTOR_L1[i]) {
WIFI_LOGE("Sta stub token verification error: %{public}d", code);
WIFI_LOGE("Scan stub token verification error: %{public}d", code);
return WIFI_OPT_FAILED;
}
}