diff options
Diffstat (limited to 'net/irda/ircomm/ircomm_tty_ioctl.c')
| -rw-r--r-- | net/irda/ircomm/ircomm_tty_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/ircomm/ircomm_tty_ioctl.c b/net/irda/ircomm/ircomm_tty_ioctl.c index e24724db36a2..d4fdf8f7b471 100644 --- a/net/irda/ircomm/ircomm_tty_ioctl.c +++ b/net/irda/ircomm/ircomm_tty_ioctl.c | |||
| @@ -324,7 +324,7 @@ static int ircomm_tty_set_serial_info(struct ircomm_tty_cb *self, | |||
| 324 | 324 | ||
| 325 | check_and_exit: | 325 | check_and_exit: |
| 326 | 326 | ||
| 327 | if (self->flags & ASYNC_INITIALIZED) { | 327 | if (tty_port_initialized(self)) { |
| 328 | if (((old_state.flags & ASYNC_SPD_MASK) != | 328 | if (((old_state.flags & ASYNC_SPD_MASK) != |
| 329 | (self->flags & ASYNC_SPD_MASK)) || | 329 | (self->flags & ASYNC_SPD_MASK)) || |
| 330 | (old_driver.custom_divisor != driver->custom_divisor)) { | 330 | (old_driver.custom_divisor != driver->custom_divisor)) { |
