[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BYAPR20MB24725656E0878F7506E16411BCF79@BYAPR20MB2472.namprd20.prod.outlook.com>
Date: Sat, 23 Apr 2022 00:02:31 +0800
From: icenowy@...look.com
To: Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-sunxi@...ts.linux.dev, Icenowy Zheng <icenowy@...eed.com>
Subject: [PATCH 3/3] Bluetooth: btrtl: allow longer config file name
From: Icenowy Zheng <icenowy@...eed.com>
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 <icenowy@...eed.com>
---
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
Powered by blists - more mailing lists