diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2012-03-06 21:48:33 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2012-03-06 22:04:25 -0500 |
commit | f64b993f44c3a5fe709b276ac5652d006afe9d33 (patch) | |
tree | dd9aa6663e497d0e370a37eabfb2c385d684ac04 /include/net/bluetooth/l2cap.h | |
parent | 044e1247344d7ff0dbdb1e7edd80d859a8c19aa6 (diff) |
Bluetooth: Fix coding style in all .h files
Proper align the struct definitions.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index e4669d0230c5..9b242c6bf55b 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -492,16 +492,16 @@ struct l2cap_chan { | |||
492 | struct sk_buff_head srej_q; | 492 | struct sk_buff_head srej_q; |
493 | struct list_head srej_l; | 493 | struct list_head srej_l; |
494 | 494 | ||
495 | struct list_head list; | 495 | struct list_head list; |
496 | struct list_head global_l; | 496 | struct list_head global_l; |
497 | 497 | ||
498 | void *data; | 498 | void *data; |
499 | struct l2cap_ops *ops; | 499 | struct l2cap_ops *ops; |
500 | struct mutex lock; | 500 | struct mutex lock; |
501 | }; | 501 | }; |
502 | 502 | ||
503 | struct l2cap_ops { | 503 | struct l2cap_ops { |
504 | char *name; | 504 | char *name; |
505 | 505 | ||
506 | struct l2cap_chan *(*new_connection) (void *data); | 506 | struct l2cap_chan *(*new_connection) (void *data); |
507 | int (*recv) (void *data, struct sk_buff *skb); | 507 | int (*recv) (void *data, struct sk_buff *skb); |
@@ -513,35 +513,35 @@ struct l2cap_ops { | |||
513 | }; | 513 | }; |
514 | 514 | ||
515 | struct l2cap_conn { | 515 | struct l2cap_conn { |
516 | struct hci_conn *hcon; | 516 | struct hci_conn *hcon; |
517 | struct hci_chan *hchan; | 517 | struct hci_chan *hchan; |
518 | 518 | ||
519 | bdaddr_t *dst; | 519 | bdaddr_t *dst; |
520 | bdaddr_t *src; | 520 | bdaddr_t *src; |
521 | 521 | ||
522 | unsigned int mtu; | 522 | unsigned int mtu; |
523 | 523 | ||
524 | __u32 feat_mask; | 524 | __u32 feat_mask; |
525 | __u8 fixed_chan_mask; | 525 | __u8 fixed_chan_mask; |
526 | 526 | ||
527 | __u8 info_state; | 527 | __u8 info_state; |
528 | __u8 info_ident; | 528 | __u8 info_ident; |
529 | 529 | ||
530 | struct delayed_work info_timer; | 530 | struct delayed_work info_timer; |
531 | 531 | ||
532 | spinlock_t lock; | 532 | spinlock_t lock; |
533 | 533 | ||
534 | struct sk_buff *rx_skb; | 534 | struct sk_buff *rx_skb; |
535 | __u32 rx_len; | 535 | __u32 rx_len; |
536 | __u8 tx_ident; | 536 | __u8 tx_ident; |
537 | 537 | ||
538 | __u8 disc_reason; | 538 | __u8 disc_reason; |
539 | 539 | ||
540 | struct delayed_work security_timer; | 540 | struct delayed_work security_timer; |
541 | struct smp_chan *smp_chan; | 541 | struct smp_chan *smp_chan; |
542 | 542 | ||
543 | struct list_head chan_l; | 543 | struct list_head chan_l; |
544 | struct mutex chan_lock; | 544 | struct mutex chan_lock; |
545 | }; | 545 | }; |
546 | 546 | ||
547 | #define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 | 547 | #define L2CAP_INFO_CL_MTU_REQ_SENT 0x01 |
@@ -556,9 +556,9 @@ struct l2cap_conn { | |||
556 | #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) | 556 | #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) |
557 | 557 | ||
558 | struct l2cap_pinfo { | 558 | struct l2cap_pinfo { |
559 | struct bt_sock bt; | 559 | struct bt_sock bt; |
560 | struct l2cap_chan *chan; | 560 | struct l2cap_chan *chan; |
561 | struct sk_buff *rx_busy_skb; | 561 | struct sk_buff *rx_busy_skb; |
562 | }; | 562 | }; |
563 | 563 | ||
564 | enum { | 564 | enum { |