From 21ed0802d7cd81bcf835a53367fd55b6074fc70c Mon Sep 17 00:00:00 2001 From: sunchanglong Date: Mon, 26 Aug 2024 11:44:22 +0800 Subject: [PATCH] =?UTF-8?q?TicketNo:#IAMFUD=20Description:=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=8A=A5=E9=94=99=EF=BC=8C=E6=8F=90=E7=A4=BAif?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=A7=8B=E7=BB=88=E4=B8=BA=E7=9C=9F=20=20Sig?= =?UTF-8?q?ned-off-by:=20sunchanglong=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c b/adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c index 3ccfaf485..51e39b44e 100644 --- a/adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c +++ b/adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c @@ -787,7 +787,7 @@ static int32_t UsbPnpNotifyDispatch( HDF_LOGI("%s: received cmd = %d", __func__, cmd); OsalMutexLock(&g_usbSendEventLock); - if (USB_PNP_DRIVER_GETDEVICES != cmd || USB_PNP_DRIVER_GET_GADGET_LINK_STATUS != cmd) { + if (USB_PNP_DRIVER_GETDEVICES != cmd && USB_PNP_DRIVER_GET_GADGET_LINK_STATUS != cmd) { g_usbPnpNotifyCmdType = cmd; } -- Gitee