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

Skip to content
Commit d19a2fa2 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

btm_sco_hfp_hal: Change get_packet_size() return type to size_t

The users of get_packet_size() (bluetooth::audio::sco::(wbs|swb)::init)
actually accept the packet size as size_t, and in kernel wbs_pkt_len is
also defined as an unsigned value. There's no reason to define its
return type as signed int.

Bug: 327547486
Tag: #floss
Test: mmm packages/modules/Bluetooth
Flag: EXEMPT, only type change and get_packet_size() always returns 0 on
      Android.

Change-Id: I658014a992308cd1f95fa74bda07cecc99348e1a
parent 780e89f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment