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 3ccfaf4853d6a3ba5b32e8a089aff9448a483db3..51e39b44e39402a5eb0ab37d1f70b1ef046bd9b8 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; }