diff options
-rw-r--r-- | drivers/android/binder.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 2123655ebb7c..f936530a19b0 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -2759,11 +2759,10 @@ static bool binder_proc_transaction(struct binder_transaction *t, binder_node_lock(node); if (oneway) { BUG_ON(thread); - if (node->has_async_transaction) { + if (node->has_async_transaction) pending_async = true; - } else { + else node->has_async_transaction = true; - } } binder_inner_proc_lock(proc); |