Fixed missing parent ioctl call

This commit is contained in:
Lorenz Meier 2014-03-16 15:12:03 +01:00
parent 7a4efc81b9
commit 15c079921b
1 changed files with 8 additions and 3 deletions

View File

@ -229,10 +229,15 @@ GPS::ioctl(struct file *filp, int cmd, unsigned long arg)
int ret = OK;
switch (cmd) {
case SENSORIOCRESET:
cmd_reset();
case SENSORIOCRESET:
cmd_reset();
break;
}
default:
/* give it to parent if no one wants it */
ret = CDev::ioctl(filp, cmd, arg);
break;
}
unlock();