diff options
author | Oliver Neukum <[email protected]> | 2011-10-13 18:21:58 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2011-10-13 18:21:58 +0200 |
commit | fad9fbe8651e8abd9794d4b4c4133241aa3093b5 (patch) | |
tree | 3d7fe18ab3d42e000c557e2b2f9da5d80b95ae99 /net/lapb/lapb_timer.c | |
parent | 3797ef6b6bc041755318917855d63879679c6dd9 (diff) |
HID: usbhid: cancel timer for retry synchronously
This makes sure IO is never restarted while a reset is going on
In particular there seems to be no protection from hid_retry_timeout() calling
hid_start_in() which would start IO after hid_pre_reset() has already called
hid_cease_io() because that uses del_timer(), not del_timer_sync()
Signed-off-by: Oliver Neukum <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions