summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2026-04-29 15:40:46 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-05-06 16:27:29 -0400
commit72d97cae2a83cecf6f47208646675ecd066d0a3e (patch)
treeacb47f0120d3b9315816038c506489de334ca53b /scripts/objdiff
parent8f59d17b18a78fdfdbb67d693b3d3eb03db184e0 (diff)
Bluetooth: hci_event: fix memset typo
hci_le_big_sync_established_evt() currently does: conn->num_bis = 0; memset(conn->bis, 0, sizeof(conn->num_bis)); sizeof(conn->num_bis) is wrong - it would make sense to either use conn->num_bis (before setting that to 0) or sizeof(conn->bis). Fix it by using sizeof(conn->bis), the least intrusive change. Luckily, nothing actually depends on this memset() working properly: Nothing seems to ever read from conn->bis beyond conn->num_bis, and when conn->num_bis is increased, the corresponding elements of conn->bis are initialized. So I think this line could also just be removed. This is a purely theoretical fix and should have no impact on actual behavior. Fixes: 42ecf1947135 ("Bluetooth: ISO: Do not emit LE BIG Create Sync if previous is pending") Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions