Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309889 Details for
Bug 449872
[Patch] Bluetooth keyboard not reconnecting after powersave
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Bluetooth wakeup patch
bluetooth-wakeup.patch (text/plain), 918 bytes, created by
Bastien Nocera
on 2008-06-19 22:55:52 UTC
(
hide
)
Description:
Bluetooth wakeup patch
Filename:
MIME Type:
Creator:
Bastien Nocera
Created:
2008-06-19 22:55:52 UTC
Size:
918 bytes
patch
obsolete
>diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c >index 519cdb9..96434d7 100644 >--- a/net/bluetooth/hidp/core.c >+++ b/net/bluetooth/hidp/core.c >@@ -581,6 +581,12 @@ static int hidp_session(void *arg) > hid_free_device(session->hid); > } > >+ /* Wakeup user-space polling for socket errors */ >+ session->intr_sock->sk->sk_err = EUNATCH; >+ session->ctrl_sock->sk->sk_err = EUNATCH; >+ >+ hidp_schedule(session); >+ > fput(session->intr_sock->file); > > wait_event_timeout(*(ctrl_sk->sk_sleep), >@@ -879,6 +885,10 @@ int hidp_del_connection(struct hidp_conndel_req *req) > skb_queue_purge(&session->ctrl_transmit); > skb_queue_purge(&session->intr_transmit); > >+ /* Wakeup user-space polling for socket errors */ >+ session->intr_sock->sk->sk_err = EUNATCH; >+ session->ctrl_sock->sk->sk_err = EUNATCH; >+ > /* Kill session thread */ > atomic_inc(&session->terminate); > hidp_schedule(session);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 449872
: 309889