Re: [PATCH 1/2] Bluetooth: Remove LE fixed channel mask bits

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

 



Hi Johan,

> The LE fixed channels are never exposed through the supported channels
> bit mask so just remove their defines to avoid any mistaken usage.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/l2cap.h | 3 ---
> 1 file changed, 3 deletions(-)
> 
> diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
> index be25eddea615..a8ac05b0e8e3 100644
> --- a/include/net/bluetooth/l2cap.h
> +++ b/include/net/bluetooth/l2cap.h
> @@ -137,9 +137,6 @@ struct l2cap_conninfo {
> #define L2CAP_FC_SIG_BREDR	0x02
> #define L2CAP_FC_CONNLESS	0x04
> #define L2CAP_FC_A2MP		0x08
> -#define L2CAP_FC_ATT		0x10
> -#define L2CAP_FC_SIG_LE		0x20
> -#define L2CAP_FC_SMP_LE		0x40

actually I put these into on purpose. Mainly for the broken Bluedroid stack that requires L2CAP_FC_ATT to be set to allow ATT over BR/EDR working correctly. So even while they are not valid for BR/EDR and fixed channel info is not (yet) defined for LE, I prefer we keep them here for completeness.

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