Commit 3e6b3b95 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: small styles clean ups to l2cap_core.c

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 0e8b207e
...@@ -2240,8 +2240,7 @@ static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data) ...@@ -2240,8 +2240,7 @@ static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data)
sizeof(efs), sizeof(efs),
(unsigned long) &efs); (unsigned long) &efs);
} else { } else {
/* Send PENDING Conf Rsp and mark state /* Send PENDING Conf Rsp */
local PENDING */
result = L2CAP_CONF_PENDING; result = L2CAP_CONF_PENDING;
set_bit(CONF_LOC_CONF_PEND, &chan->conf_state); set_bit(CONF_LOC_CONF_PEND, &chan->conf_state);
} }
...@@ -2373,8 +2372,8 @@ static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, voi ...@@ -2373,8 +2372,8 @@ static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, voi
case L2CAP_CONF_EWS: case L2CAP_CONF_EWS:
chan->tx_win = min_t(u16, val, chan->tx_win = min_t(u16, val,
L2CAP_DEFAULT_EXT_WINDOW); L2CAP_DEFAULT_EXT_WINDOW);
l2cap_add_conf_opt(&ptr, L2CAP_CONF_EWS, l2cap_add_conf_opt(&ptr, L2CAP_CONF_EWS, 2,
2, chan->tx_win); chan->tx_win);
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment