linux-stable/drivers/staging/ks7010
Nicholas Mc Guire 9d29f14db1 staging: ks7010: fix wait_for_completion_interruptible_timeout return handling
wait_for_completion_interruptible_timeout return 0 on timeout and
-ERESTARTSYS if interrupted. The check for
!wait_for_completion_interruptible_timeout() would report an interrupt
as timeout. Further, while HZ/50 will work most of the time it could
fail for HZ < 50, so this is switched to msecs_to_jiffies(20).

Fixes: 13a9930d15 ("staging: ks7010: add driver from Nanonote extra-repository")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-21 18:12:57 +02:00
..
eap_packet.h staging: ks7010: cleanup file headers 2016-06-07 22:42:53 -07:00
Kconfig staging: ks7010: remove custom firmware loader 2016-06-07 22:42:53 -07:00
ks7010_sdio.c staging: ks7010: do not dereference priv if priv is null 2016-08-15 16:35:13 +02:00
ks7010_sdio.h staging: ks7010: drop private handler for driver version 2016-06-18 19:45:55 -07:00
ks_hostif.c staging: ks7010: fix wait_for_completion_interruptible_timeout return handling 2016-08-21 18:12:57 +02:00
ks_hostif.h staging: ks7010: cleanup file headers 2016-06-07 22:42:53 -07:00
ks_wlan.h staging: ks7010: function declaration should be in a header file 2016-06-18 19:45:55 -07:00
ks_wlan_ioctl.h staging: ks7010: drop private handler for driver version 2016-06-18 19:45:55 -07:00
ks_wlan_net.c staging: ks7010: remove bogus NULL checks 2016-06-18 19:47:00 -07:00
Makefile staging: ks7010: remove cfg file handling 2016-06-18 19:45:55 -07:00
michael_mic.c Staging: ks7010: michael_mic: fixed macros coding style issue 2016-08-15 16:35:13 +02:00
michael_mic.h staging: ks7010: cleanup file headers 2016-06-07 22:42:53 -07:00
TODO staging: ks7010: remove cfg file handling 2016-06-18 19:45:55 -07:00