From: Gustavo F. Padovan Date: Sat, 1 May 2010 19:15:38 +0000 (-0300) Subject: Bluetooth: Remove duplicate use of __get_reqseq() macro on L2CAP X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8abb52ee00c4b3f857269eb6b7145991bab869bf;p=linux-beck.git Bluetooth: Remove duplicate use of __get_reqseq() macro on L2CAP tx_seq var already has the value of __get_reqseq(). Signed-off-by: Gustavo F. Padovan Reviewed-by: João Paulo Rechi Vita Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index d096c7c11ab5..e9ac9fb11917 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c @@ -3533,7 +3533,7 @@ static inline void l2cap_data_channel_rejframe(struct sock *sk, u16 rx_control) pi->conn_state &= ~L2CAP_CONN_REMOTE_BUSY; - pi->expected_ack_seq = __get_reqseq(rx_control); + pi->expected_ack_seq = tx_seq; l2cap_drop_acked_frames(sk); if (rx_control & L2CAP_CTRL_FINAL) {