From 52051cd4beee0f618a03b89a509304ee2026c172 Mon Sep 17 00:00:00 2001 From: huyx Date: Fri, 18 Apr 2025 16:01:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E4=BB=A3=E7=A0=81=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- adapter/khdf/linux/model/usb/host/src/usb_pnp_notify.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 1ab1c7140..87a255653 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,9 +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) { - g_usbPnpNotifyCmdType = cmd; - } + g_usbPnpNotifyCmdType = cmd; switch (cmd) { case USB_PNP_NOTIFY_ADD_INTERFACE: -- Gitee