Re: [PATCH 1/2] Bluetooth: Fix L2CAP nesting level initialization location

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

 



Hi Johan,

> There's no reason why all users of L2CAP would need to worry about
> initializing chan->nesting to L2CAP_NESTING_NORMAL (which is important
> since 0 is the same as NESTING_SMP). This patch moves the initialization
> to the common place that's used to create all new channels, i.e. the
> l2cap_chan_create() function.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> net/bluetooth/l2cap_core.c | 3 +++
> net/bluetooth/l2cap_sock.c | 3 ---
> 2 files changed, 3 insertions(+), 3 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
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