c
static void qca_tlv_check_data(struct hci_dev *hdev)
{
    if (!hdev || !hdev->tlv_data) {
        return;  // Early return if input is invalid
    }
    // Rest of the function implementation
}
