Re: [PATCH 12/15] Bluetooth: Move ERTM timers to struct l2cap_chan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gustavo,

On Fri, Apr 1, 2011 at 6:33 PM, Gustavo F. Padovan
<padovan@xxxxxxxxxxxxxx> wrote:
> @@ -958,7 +961,7 @@ static void l2cap_monitor_timeout(unsigned long arg)
>
>        bh_lock_sock(sk);
>        if (chan->retry_count >= chan->remote_max_tx) {
> -               l2cap_send_disconn_req(l2cap_pi(sk)->conn, sk, ECONNABORTED);
> +               l2cap_send_disconn_req(l2cap_pi(chan)->conn, chan, ECONNABORTED);
>                bh_unlock_sock(sk);
>                return;
>        }

Why "l2cap_pi(chan)" ? This looks strange.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux