It's more natural to use net_buf_pull_mem() for the HCI command parsing. Note that this also fixes a bug in hci_cmd_handle() where it would previously check for sufficient parameter length with the command header still included in the buffer (which it shouldn't have been). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> |
||
|---|---|---|
| .. | ||
| crypto | ||
| hal | ||
| hci | ||
| include | ||
| ll_sw | ||
| ticker | ||
| util | ||
| CMakeLists.txt | ||
| Kconfig | ||