|
@@ -59,6 +59,15 @@ static unsigned char hidp_keycode[256] = {
|
|
|
|
|
|
static unsigned char hidp_mkeyspat[] = { 0x01, 0x01, 0x01, 0x01, 0x01, 0x01 };
|
|
|
|
|
|
+static inline void hidp_schedule(struct hidp_session *session)
|
|
|
+{
|
|
|
+ struct sock *ctrl_sk = session->ctrl_sock->sk;
|
|
|
+ struct sock *intr_sk = session->intr_sock->sk;
|
|
|
+
|
|
|
+ wake_up_interruptible(sk_sleep(ctrl_sk));
|
|
|
+ wake_up_interruptible(sk_sleep(intr_sk));
|
|
|
+}
|
|
|
+
|
|
|
static struct hidp_session *__hidp_get_session(bdaddr_t *bdaddr)
|
|
|
{
|
|
|
struct hidp_session *session;
|