projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f242b6d
)
net: wireless: bcmdhd: Ignore signal_pending() while waiting in IOCTL
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 16 May 2012 23:50:06 +0000
(16:50 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 16 May 2012 23:59:37 +0000
(16:59 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/dhd_linux.c
b/drivers/net/wireless/bcmdhd/dhd_linux.c
index 8a9f795292b9e9c402ceb392169ca49a23d46010..69189f8fe5491ca8d0797f8dc80059c19792c550 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/dhd_linux.c
+++ b/
drivers/net/wireless/bcmdhd/dhd_linux.c
@@
-3931,14
+3931,11
@@
dhd_os_ioctl_resp_wait(dhd_pub_t *pub, uint *condition, bool *pending)
* Can be changed by another processor.
*/
smp_mb();
- while (!(*condition) &&
(!signal_pending(current) && timeout)
) {
+ while (!(*condition) &&
timeout
) {
timeout = schedule_timeout(timeout);
smp_mb();
}
- if (signal_pending(current))
- *pending = TRUE;
-
set_current_state(TASK_RUNNING);
remove_wait_queue(&dhd->ioctl_resp_wait, &wait);