Bluetooth: btintel_pcie: Avoid redundant buffer allocation
authorKiran K <kiran.k@intel.com>
Thu, 17 Apr 2025 03:48:42 +0000 (09:18 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 25 Apr 2025 19:03:19 +0000 (15:03 -0400)
commitd1af1f02ef8653dea4573e444136c8331189cd59
tree30340c07842ac41e870d49e0c3329f153b220599
parent024421cf39923927ab2b5fe895d1d922b9abe67f
Bluetooth: btintel_pcie: Avoid redundant buffer allocation

Reuse the skb buffer provided by the PCIe driver to pass it onto the
stack, instead of copying it to a new skb.

Fixes: c2b636b3f788 ("Bluetooth: btintel_pcie: Add support for PCIe transport")
Signed-off-by: Kiran K <kiran.k@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel_pcie.c