Re: [PATCH v5.2-rc5] Bluetooth: Fix regression with minimum encryption key size alignment

From: Marcel Holtmann
Date: Sat Jun 22 2019 - 14:21:30 EST


Hi Sasha,

> [This is an automated email]
>
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: d5bb334a8e17 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections.
>
> The bot has tested the following trees: v5.1.12, v4.19.53, v4.14.128, v4.9.182, v4.4.182.
>
> v5.1.12: Build failed! Errors:
> net/bluetooth/l2cap_core.c:1356:24: error: âHCI_MIN_ENC_KEY_SIZEâ undeclared (first use in this function); did you mean âSMP_MIN_ENC_KEY_SIZEâ?
>
> v4.19.53: Build failed! Errors:
> net/bluetooth/l2cap_core.c:1355:24: error: âHCI_MIN_ENC_KEY_SIZEâ undeclared (first use in this function); did you mean âSMP_MIN_ENC_KEY_SIZEâ?
>
> v4.14.128: Build failed! Errors:
> net/bluetooth/l2cap_core.c:1355:24: error: âHCI_MIN_ENC_KEY_SIZEâ undeclared (first use in this function); did you mean âSMP_MIN_ENC_KEY_SIZEâ?
>
> v4.9.182: Build OK!
> v4.4.182: Build OK!
>
> How should we proceed with this patch?

either you reapply commit d5bb334a8e17 first or I have to send a version that combines both into a single commit for easy applying.

Regards

Marcel