diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-05-01 15:15:38 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-05-10 03:28:48 -0400 |
commit | 8abb52ee00c4b3f857269eb6b7145991bab869bf (patch) | |
tree | f7879f9c4e78e30f9ad74b59627c1e9b0ee0c05e /net/bluetooth | |
parent | 6e3a59819fac19006fe4255b87928e5a12c54532 (diff) |
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 <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
3533 | 3533 | ||
3534 | pi->conn_state &= ~L2CAP_CONN_REMOTE_BUSY; | 3534 | pi->conn_state &= ~L2CAP_CONN_REMOTE_BUSY; |
3535 | 3535 | ||
3536 | pi->expected_ack_seq = __get_reqseq(rx_control); | 3536 | pi->expected_ack_seq = tx_seq; |
3537 | l2cap_drop_acked_frames(sk); | 3537 | l2cap_drop_acked_frames(sk); |
3538 | 3538 | ||
3539 | if (rx_control & L2CAP_CTRL_FINAL) { | 3539 | if (rx_control & L2CAP_CTRL_FINAL) { |