Browse Source

Fixed missing parent ioctl call

sbg
Lorenz Meier 11 years ago
parent
commit
15c079921b
  1. 11
      src/drivers/gps/gps.cpp

11
src/drivers/gps/gps.cpp

@ -229,10 +229,15 @@ GPS::ioctl(struct file *filp, int cmd, unsigned long arg) @@ -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();

Loading…
Cancel
Save