diff options
Diffstat (limited to 'include/net/bluetooth/rfcomm.h')
-rw-r--r-- | include/net/bluetooth/rfcomm.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index 6eac4a760c3..d5eee2093b1 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h | |||
@@ -234,7 +234,8 @@ int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci, | |||
234 | /* ---- RFCOMM DLCs (channels) ---- */ | 234 | /* ---- RFCOMM DLCs (channels) ---- */ |
235 | struct rfcomm_dlc *rfcomm_dlc_alloc(gfp_t prio); | 235 | struct rfcomm_dlc *rfcomm_dlc_alloc(gfp_t prio); |
236 | void rfcomm_dlc_free(struct rfcomm_dlc *d); | 236 | void rfcomm_dlc_free(struct rfcomm_dlc *d); |
237 | int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel); | 237 | int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, |
238 | u8 channel); | ||
238 | int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason); | 239 | int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason); |
239 | int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb); | 240 | int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb); |
240 | int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig); | 241 | int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig); |
@@ -271,7 +272,8 @@ static inline void rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) | |||
271 | } | 272 | } |
272 | 273 | ||
273 | /* ---- RFCOMM sessions ---- */ | 274 | /* ---- RFCOMM sessions ---- */ |
274 | void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst); | 275 | void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, |
276 | bdaddr_t *dst); | ||
275 | 277 | ||
276 | static inline void rfcomm_session_hold(struct rfcomm_session *s) | 278 | static inline void rfcomm_session_hold(struct rfcomm_session *s) |
277 | { | 279 | { |
@@ -312,7 +314,8 @@ struct rfcomm_pinfo { | |||
312 | int rfcomm_init_sockets(void); | 314 | int rfcomm_init_sockets(void); |
313 | void rfcomm_cleanup_sockets(void); | 315 | void rfcomm_cleanup_sockets(void); |
314 | 316 | ||
315 | int rfcomm_connect_ind(struct rfcomm_session *s, u8 channel, struct rfcomm_dlc **d); | 317 | int rfcomm_connect_ind(struct rfcomm_session *s, u8 channel, |
318 | struct rfcomm_dlc **d); | ||
316 | 319 | ||
317 | /* ---- RFCOMM TTY ---- */ | 320 | /* ---- RFCOMM TTY ---- */ |
318 | #define RFCOMM_MAX_DEV 256 | 321 | #define RFCOMM_MAX_DEV 256 |