From: Icenowy Zheng <[email protected]>
As we now use board compatible as postfix on DT platform, we're going to
have long postfix strings.
Allow a longer config file name then. The value 320 is taken from
brcmfmac driver, which has a similar behavior.
Signed-off-by: Icenowy Zheng <[email protected]>
---
drivers/bluetooth/btrtl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 1f834513762b..383428977a7a 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -591,7 +591,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
struct btrtl_device_info *btrtl_dev;
struct sk_buff *skb;
struct hci_rp_read_local_version *resp;
- char cfg_name[40];
+ char cfg_name[320];
u16 hci_rev, lmp_subver;
u8 hci_ver;
int ret;
--
2.35.1