Re: [PATCH stable 4.4] Bluetooth: MGMT: Fix misplaced BT_HS check

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

 



On Tue, Feb 01, 2022 at 03:24:50PM +0100, Guillaume Bertholon wrote:
> The upstream commit b560a208cda0 ("Bluetooth: MGMT: Fix not checking if
> BT_HS is enabled") inserted a new check in the `set_hs` function.
> However, its backported version in stable (commit 5abe9f99f512
> ("Bluetooth: MGMT: Fix not checking if BT_HS is enabled")),
> added the check in `set_link_security` instead.
> 
> This patch restores the intent of the upstream commit by moving back the
> BT_HS check to `set_hs`.
> 
> Fixes: 5abe9f99f512 ("Bluetooth: MGMT: Fix not checking if BT_HS is enabled")
> Signed-off-by: Guillaume Bertholon <guillaume.bertholon@xxxxxx>
> ---
>  net/bluetooth/mgmt.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Now queued up, thanks!

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux