diff options
-rw-r--r-- | net/bluetooth/l2cap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 2a981de071df..d0d03302e14d 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c | |||
@@ -3670,10 +3670,8 @@ static inline void l2cap_data_channel_rejframe(struct sock *sk, u16 rx_control) | |||
3670 | pi->next_tx_seq = pi->expected_ack_seq; | 3670 | pi->next_tx_seq = pi->expected_ack_seq; |
3671 | l2cap_ertm_send(sk); | 3671 | l2cap_ertm_send(sk); |
3672 | 3672 | ||
3673 | if (pi->conn_state & L2CAP_CONN_WAIT_F) { | 3673 | if (pi->conn_state & L2CAP_CONN_WAIT_F) |
3674 | pi->srej_save_reqseq = tx_seq; | ||
3675 | pi->conn_state |= L2CAP_CONN_REJ_ACT; | 3674 | pi->conn_state |= L2CAP_CONN_REJ_ACT; |
3676 | } | ||
3677 | } | 3675 | } |
3678 | } | 3676 | } |
3679 | static inline void l2cap_data_channel_srejframe(struct sock *sk, u16 rx_control) | 3677 | static inline void l2cap_data_channel_srejframe(struct sock *sk, u16 rx_control) |