cmtp.h (5a84d159061d914c8dd4aa372ac6e9529c2be453) | cmtp.h (aa395145165cb06a0d0885221bbe0ce4a564391d) |
---|---|
1/* 2 CMTP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2002-2003 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 --- 111 unchanged lines hidden (view full) --- 120void cmtp_detach_device(struct cmtp_session *session); 121 122void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb); 123 124static inline void cmtp_schedule(struct cmtp_session *session) 125{ 126 struct sock *sk = session->sock->sk; 127 | 1/* 2 CMTP implementation for Linux Bluetooth stack (BlueZ). 3 Copyright (C) 2002-2003 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 --- 111 unchanged lines hidden (view full) --- 120void cmtp_detach_device(struct cmtp_session *session); 121 122void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb); 123 124static inline void cmtp_schedule(struct cmtp_session *session) 125{ 126 struct sock *sk = session->sock->sk; 127 |
128 wake_up_interruptible(sk->sk_sleep); | 128 wake_up_interruptible(sk_sleep(sk)); |
129} 130 131/* CMTP init defines */ 132int cmtp_init_sockets(void); 133void cmtp_cleanup_sockets(void); 134 135#endif /* __CMTP_H */ | 129} 130 131/* CMTP init defines */ 132int cmtp_init_sockets(void); 133void cmtp_cleanup_sockets(void); 134 135#endif /* __CMTP_H */ |