fs/nxffs/nxffs_ioctl.c: Pass unrecognized IOCTL commands to the contained MTD driver.

This commit is contained in:
Daniel P. Carvalho 2018-12-12 18:23:03 -06:00 committed by Gregory Nutt
parent e34e9fd782
commit 60575d3436

View File

@ -122,9 +122,9 @@ int nxffs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
} }
else else
{ {
/* No other commands supported */ /* Command not recognized, forward to the MTD driver */
ret = -ENOTTY; ret = MTD_IOCTL(volume->mtd, cmd, arg);
} }
errout_with_semaphore: errout_with_semaphore: