|
@@ -2807,7 +2807,6 @@ static int l2cap_parse_conf_rsp(struct sock *sk, void *rsp, int len, void *data,
|
|
|
if (*result == L2CAP_CONF_SUCCESS) {
|
|
|
switch (rfc.mode) {
|
|
|
case L2CAP_MODE_ERTM:
|
|
|
- pi->remote_tx_win = rfc.txwin_size;
|
|
|
pi->retrans_timeout = le16_to_cpu(rfc.retrans_timeout);
|
|
|
pi->monitor_timeout = le16_to_cpu(rfc.monitor_timeout);
|
|
|
pi->mps = le16_to_cpu(rfc.max_pdu_size);
|
|
@@ -2863,7 +2862,6 @@ static void l2cap_conf_rfc_get(struct sock *sk, void *rsp, int len)
|
|
|
done:
|
|
|
switch (rfc.mode) {
|
|
|
case L2CAP_MODE_ERTM:
|
|
|
- pi->remote_tx_win = rfc.txwin_size;
|
|
|
pi->retrans_timeout = le16_to_cpu(rfc.retrans_timeout);
|
|
|
pi->monitor_timeout = le16_to_cpu(rfc.monitor_timeout);
|
|
|
pi->mps = le16_to_cpu(rfc.max_pdu_size);
|