projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: bt: Move hid_add_device() call to after hidp_session() has started.
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
hidp
/
hidp.h
diff --git
a/net/bluetooth/hidp/hidp.h
b/net/bluetooth/hidp/hidp.h
index 8d934a19da0a422c395ca93d400e53203a4c8627..2cc35dc8fa03c600e6d0fe6ac4320ab50a060436 100644
(file)
--- a/
net/bluetooth/hidp/hidp.h
+++ b/
net/bluetooth/hidp/hidp.h
@@
-157,6
+157,9
@@
struct hidp_session {
/* Report descriptor */
__u8 *rd_data;
uint rd_size;
+
+ wait_queue_head_t startup_queue;
+ int waiting_for_startup;
};
static inline void hidp_schedule(struct hidp_session *session)