diff options
| author | Ibrahim Abdelkader <iabdelka@qti.qualcomm.com> | 2026-08-17 22:50:16 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-08-18 14:10:33 -0400 |
| commit | 57f558cf1a3d333bd6c9601f48459c1f60ecf5bb (patch) | |
| tree | 115a9b1f19f596e2fe3f96551c40b0c2333a7427 /scripts | |
| parent | 14a97a38ba8f2208fd394cebaa3889566d6869f5 (diff) | |
| download | linux-next-57f558cf1a3d333bd6c9601f48459c1f60ecf5bb.tar.gz linux-next-57f558cf1a3d333bd6c9601f48459c1f60ecf5bb.zip | |
Bluetooth: hci_core: Return -ENOMEM when the sent_cmd clone fails
hci_send_cmd_sync() returns -EINVAL when skb_clone() fails for sent_cmd,
which describes an invalid argument rather than an allocation failure.
Return -ENOMEM instead. The only caller, hci_cmd_work(), tests the result
for zero, so there is no functional change.
Signed-off-by: Ibrahim Abdelkader <iabdelka@qti.qualcomm.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
