mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-30 04:10:59 +00:00
update core/connection/wifi_direct_cpp/wifi_direct_scheduler.cpp.
Signed-off-by: shiyifan <shiyifan10@huawei.com>
This commit is contained in:
parent
60c6f7e3bd
commit
39539d0b7d
@ -165,6 +165,7 @@ int WifiDirectScheduler::ScheduleActiveCommand(const std::shared_ptr<WifiDirectC
|
||||
return SOFTBUS_CONN_REMOTE_DEVICE_ID_EMPTY;
|
||||
}
|
||||
|
||||
std::lock_guard executorLock(executorLock_);
|
||||
auto it = executors_.find(remoteDeviceId);
|
||||
if (it != executors_.end() || executors_.size() == MAX_EXECUTOR) {
|
||||
CONN_LOGI(CONN_WIFI_DIRECT, "push command to list, commandId=%{public}u", command->GetId());
|
||||
|
Loading…
Reference in New Issue
Block a user