mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Bluetooth: clean up rfcomm code
Remove extra spaces, assignments in if statement, zeroing static variables, extra braces. Fix includes. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
735cbc4784
commit
285b4e9031
4 changed files with 25 additions and 20 deletions
|
|
@ -105,7 +105,7 @@
|
|||
struct rfcomm_hdr {
|
||||
u8 addr;
|
||||
u8 ctrl;
|
||||
u8 len; // Actual size can be 2 bytes
|
||||
u8 len; /* Actual size can be 2 bytes */
|
||||
} __packed;
|
||||
|
||||
struct rfcomm_cmd {
|
||||
|
|
@ -228,7 +228,7 @@ struct rfcomm_dlc {
|
|||
/* ---- RFCOMM SEND RPN ---- */
|
||||
int rfcomm_send_rpn(struct rfcomm_session *s, int cr, u8 dlci,
|
||||
u8 bit_rate, u8 data_bits, u8 stop_bits,
|
||||
u8 parity, u8 flow_ctrl_settings,
|
||||
u8 parity, u8 flow_ctrl_settings,
|
||||
u8 xon_char, u8 xoff_char, u16 param_mask);
|
||||
|
||||
/* ---- RFCOMM DLCs (channels) ---- */
|
||||
|
|
|
|||
Loading…
Reference in a new issue