summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2017-09-05 15:22:48 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-09-28 08:29:41 +0300
commitadc69b4d76ee8a7065c7c637584b39ace265ffab (patch)
treea100bac8bd2063c347148beab68365c804e09def /net/lapb/lapb_timer.c
parentb08e19defc10befc50af09771ff0b086f2a72138 (diff)
downloadlinux-adc69b4d76ee8a7065c7c637584b39ace265ffab.tar.xz
s390/cmf: set_schib_wait add timeout
When enabling channel measurement fails with a busy condition we wait for the next interrupt to arrive before we retry the operation. For devices which usually don't create interrupts we wait forever. Although the waiting is done interruptible that behavior is not expected and confused some users. Abort the operation after a 10s timeout. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions