diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hidp/core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 0ea40ab4dbae..ceadfcf457c1 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c | |||
@@ -737,10 +737,8 @@ static inline void hidp_setup_hid(struct hidp_session *session, struct hidp_conn | |||
737 | list_for_each_entry(report, &hid->report_enum[HID_FEATURE_REPORT].report_list, list) | 737 | list_for_each_entry(report, &hid->report_enum[HID_FEATURE_REPORT].report_list, list) |
738 | hidp_send_report(session, report); | 738 | hidp_send_report(session, report); |
739 | 739 | ||
740 | if (hidinput_connect(hid) == 0) { | 740 | if (hidinput_connect(hid) == 0) |
741 | hid->claimed |= HID_CLAIMED_INPUT; | 741 | hid->claimed |= HID_CLAIMED_INPUT; |
742 | hid_ff_init(hid); | ||
743 | } | ||
744 | } | 742 | } |
745 | 743 | ||
746 | int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock) | 744 | int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr_sock) |