Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 3e40cf9b authored by Alexander Grund's avatar Alexander Grund
Browse files

Bluetooth: Use BT_ERR_RATELIMITED instead of bt_dev_err_ratelimited

The latter is not yet available

Change-Id: I0ec2408def623145462541d8f76605882e45a2fe
parent d01cb2da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4757,7 +4757,7 @@ static void process_adv_report(struct hci_dev *hdev, u8 type, bdaddr_t *bdaddr,
	u8 *ptr, real_len;

	if (!ext_adv && len > HCI_MAX_AD_LENGTH) {
		bt_dev_err_ratelimited(hdev, "legacy adv larger than 31 bytes");
		BT_ERR_RATELIMITED("%s: legacy adv larger than 31 bytes", hdev->name);
		return;
	}