Fix for PIN DND

This commit is contained in:
NIIBE Yutaka
2016-07-07 11:53:49 +09:00
parent 9697694e45
commit 2647797348
3 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ usb_setup (struct usb_dev *dev)
#ifdef PINPAD_DND_SUPPORT
else if (arg->index == MSC_INTERFACE)
{
if (USB_SETUP_GET (req))
if (USB_SETUP_GET (arg->type))
{
if (arg->request == MSC_GET_MAX_LUN_COMMAND)
return usb_lld_ctrl_send (dev, lun_table, sizeof (lun_table));