mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-23 07:00:07 +00:00
debug p2p chr report
Signed-off-by: WangYusen <wangyusen8@huawei.com>
This commit is contained in:
parent
a33ba33459
commit
b3a4679584
@ -683,8 +683,9 @@ bool P2pEnabledState::ProcessChrReport(InternalMessagePtr msg) const
|
||||
{
|
||||
int errCode = msg->GetParam1();
|
||||
WIFI_LOGI("P2pEnabledState receive chr error code %{public}d", errCode);
|
||||
deviceManager.GetThisDevice().SetChrErrCode(static_cast<P2pChrEvent>(errCode));
|
||||
p2pStateMachine.BroadcastThisDeviceChanaged(deviceManager.GetThisDevice());
|
||||
WifiP2pDevice device = deviceManager.GetThisDevice();
|
||||
device.SetChrErrCode(static_cast<P2pChrEvent>(errCode));
|
||||
p2pStateMachine.BroadcastThisDeviceChanaged(device);
|
||||
return EXECUTED;
|
||||
}
|
||||
} // namespace Wifi
|
||||
|
Loading…
Reference in New Issue
Block a user