Searched hist:"315917 e0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/bluetooth/ |
H A D | l2cap_core.c | 315917e0 Mon Feb 16 03:42:11 CST 2015 Johan Hedberg <johan.hedberg@intel.com> Bluetooth: Fix accepting early data on fixed channels
On BR/EDR the L2CAP channel instances for fixed channels have so far been marked as ready only once the L2CAP information req/rsp procedure is complete and we have the fixed channel mask. This could however lead to data being dropped if we receive it on the channel before knowing the remote mask.
Since it is valid for a remote to send data this early, simply assume that the channel is supported when we receive data on it. So far this hasn't been noticed much because of limited use of fixed channels on BR/EDR, but e.g. with SMP over BR/EDR this is already now visible with automated tests failing randomly.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|