forked from Archive/PX4-Autopilot
Fixed missing parent ioctl call
This commit is contained in:
parent
7a4efc81b9
commit
15c079921b
|
@ -229,10 +229,15 @@ GPS::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||||
int ret = OK;
|
int ret = OK;
|
||||||
|
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
case SENSORIOCRESET:
|
case SENSORIOCRESET:
|
||||||
cmd_reset();
|
cmd_reset();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
|
/* give it to parent if no one wants it */
|
||||||
|
ret = CDev::ioctl(filp, cmd, arg);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
unlock();
|
unlock();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue