hidp.h (87d8a69709d971913e6cc7210450fcb8be963667) | hidp.h (aa395145165cb06a0d0885221bbe0ce4a564391d) |
---|---|
1/* 2 HIDP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License version 2 as 7 published by the Free Software Foundation; 8 --- 150 unchanged lines hidden (view full) --- 159 uint rd_size; 160}; 161 162static inline void hidp_schedule(struct hidp_session *session) 163{ 164 struct sock *ctrl_sk = session->ctrl_sock->sk; 165 struct sock *intr_sk = session->intr_sock->sk; 166 | 1/* 2 HIDP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2003-2004 Marcel Holtmann <marcel@holtmann.org> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License version 2 as 7 published by the Free Software Foundation; 8 --- 150 unchanged lines hidden (view full) --- 159 uint rd_size; 160}; 161 162static inline void hidp_schedule(struct hidp_session *session) 163{ 164 struct sock *ctrl_sk = session->ctrl_sock->sk; 165 struct sock *intr_sk = session->intr_sock->sk; 166 |
167 wake_up_interruptible(ctrl_sk->sk_sleep); 168 wake_up_interruptible(intr_sk->sk_sleep); | 167 wake_up_interruptible(sk_sleep(ctrl_sk)); 168 wake_up_interruptible(sk_sleep(intr_sk)); |
169} 170 171/* HIDP init defines */ 172extern int __init hidp_init_sockets(void); 173extern void __exit hidp_cleanup_sockets(void); 174 175#endif /* __HIDP_H */ | 169} 170 171/* HIDP init defines */ 172extern int __init hidp_init_sockets(void); 173extern void __exit hidp_cleanup_sockets(void); 174 175#endif /* __HIDP_H */ |