Merge commit '920608bf3671662f94b4939ffdaf6fde2b08edff'

This commit is contained in:
px4dev
2013-01-06 02:01:41 -08:00
7 changed files with 106 additions and 3 deletions
+4 -2
View File
@@ -660,8 +660,10 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
int ret = dev->ops->ioctl(filep, cmd, arg);
/* If the low-level handler didn't handle the call, see if we can handle it here */
/*
* The device ioctl() handler returns -ENOTTY when it doesn't know
* how to handle the command. Check if we can handle it here.
*/
if (ret == -ENOTTY)
{
switch (cmd)