mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "net: qrtr: Force wakeups for data packets"
This commit is contained in:
commit
b67df1431a
1 changed files with 4 additions and 0 deletions
|
|
@ -828,6 +828,10 @@ int qrtr_endpoint_post(struct qrtr_endpoint *ep, const void *data, size_t len)
|
|||
if (sock_queue_rcv_skb(&ipc->sk, skb))
|
||||
goto err;
|
||||
|
||||
/* Force wakeup for all packets except for sensors */
|
||||
if (node->nid != 9)
|
||||
__pm_wakeup_event(node->ws, 0);
|
||||
|
||||
qrtr_port_put(ipc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue