fs/nxffs/nxffs_ioctl.c: Pass unrecognized IOCTL commands to the contained MTD driver.
This commit is contained in:
parent
e34e9fd782
commit
60575d3436
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user