Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ad8052f authored by Chris Manton's avatar Chris Manton
Browse files

stack::l2cap Properly type tL2CAP_LE_RESULT_CODE

Value in spec is 16 bits.

Version 5.4 | Vol 3, Part A 4.26 L2CAP_CREDIT_BASED_CONNECTION_RSP (CODE 0x18) Table 4.17

Bug: 350490212
Test: m .
Flag: EXEMPT, Mechanical Refactor

Change-Id: I58ba01cfb5d9e115ec1737d64a5d5b357d1b0b7b
parent 9e5271d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@

/* Define the LE L2CAP Connection Response Result codes
 */
typedef enum : uint8_t {
typedef enum : uint16_t {
  L2CAP_LE_RESULT_CONN_OK = 0,
  L2CAP_LE_RESULT_NO_PSM = 2,
  L2CAP_LE_RESULT_NO_RESOURCES = 4,