Commit: 6efdbd8dbd1674cb6fdaa0648f8a17f8d5240dcf
Parent: f19000cf297fd38c6a3597606fd3902a9a899e50
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-06-05 03:01:04
Tree: 492a3f0445a9488cfbd35b1b705eee650257d818

shared/mgmt: Fix not processing request queue If the kernel returns an invalid opcode like below the request won't be processed making it unusable: @ MGMT Command: Read Advertising Features (0x003d) plen 0 {0x0001} [hci0] 14:25:11.096370 @ MGMT Event: Command Status (0x0002) plen 3 {0x0001} [hci0] 14:25:11.096373 Set Advertising (0x0029) Status: Not Supported (0x0c) In order to fix this attempts to remove the first request pending on the given index: = bluetoothd: src/advertising.c:read_adv_features_callback() Failed to read advertising features: Not Supported (0x0c)

Diffstat

M src/shared/mgmt.c | 11 +++++++++++

1 files changed, 11 insertions(+), 0 deletions(-)

View Full Diff | Patch