diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-06-23 06:59:02 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-06-26 08:12:45 +0300 |
commit | 23837a6d7a1a61818ed94a6b8af552d6cf7d32d5 (patch) | |
tree | 051e88775799c01f6e58c159f2481994c61011fc /drivers/bluetooth/hci_ag6xx.c | |
parent | 43e59cb7e6077110c4622e61a188e7703e8c7e36 (diff) | |
download | linux-23837a6d7a1a61818ed94a6b8af552d6cf7d32d5.tar.xz |
Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
Error status of this event means that it has ended due reasons other
than a connection:
'If advertising has terminated as a result of the advertising duration
elapsing, the Status parameter shall be set to the error code
Advertising Timeout (0x3C).'
'If advertising has terminated because the
Max_Extended_Advertising_Events was reached, the Status parameter
shall be set to the error code Limit Reached (0x43).'
Fixes: acf0aeae431a0 ("Bluetooth: Handle ADv set terminated event")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_ag6xx.c')
0 files changed, 0 insertions, 0 deletions