commit | 132d0fd0b8418094c9e269e5bc33bf5b864f4a65 | [log] [tgz] |
---|---|---|
author | Zijun Hu <quic_zijuhu@quicinc.com> | Fri Dec 08 09:51:26 2023 +0800 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Dec 22 12:57:24 2023 -0500 |
tree | d8c2af9e8f74950078a5bdd55ce132bd95666e7f | |
parent | 9f150019f176078144b02c4b9b9dbe7fd5a2fcc3 [diff] |
Bluetooth: hci_conn: Check non NULL function before calling for HFP offload For some controllers such as QCA2066, it does not need to send HCI_Configure_Data_Path to configure non-HCI data transport path to support HFP offload, their device drivers may set hdev->get_codec_config_data as NULL, so Explicitly add this non NULL checking before calling the function. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>