diff options
author | Johan Hovold <johan@kernel.org> | 2021-04-07 13:39:16 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-04-08 10:45:59 +0300 |
commit | 3d732690d2267f4d0e19077b178dffbedafdf0c9 (patch) | |
tree | 3c7550b512b63fff75e7bef2ebdbd14bffbf93cd /drivers/target | |
parent | d370c90dcd64e427a79a093a070117a1571d4cd8 (diff) | |
download | linux-3d732690d2267f4d0e19077b178dffbedafdf0c9.tar.xz |
USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
The port close_delay and closing_wait parameters set by TIOCSSERIAL are
specified in jiffies and not milliseconds.
Add the missing conversions so that the TIOCSSERIAL works as expected
also when HZ is not 1000.
Fixes: 02303f73373a ("usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)")
Cc: stable@vger.kernel.org # 2.6.38
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions