HciManager::handleHciAclPacket(): swap the order of the checks


Check size before dereferencing the data. That way, we guarantee that
the byte does not contain garbage.

Pick-to: 6.9 6.8 6.5
Change-Id: Id90e66cf9eafb24206490ffb080ae56ff7d25d42
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commit22eb48c39eec46298c1adae89cf579bae690557b
parent32ca71d6cca413c4521728b524d50d4e76572639
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 21 May 2025 18:21:07 +0200