Commit dbfc2eb
Bluetooth: Fix NULL pointer dereference when bt_send() fails
The last parameter to hci_cmd_done() is expected to be a valid net_buf
since the function immediately tries to dereference it. Fix this by
passing the appropriate buffer reference to the function.
Signed-off-by: Johan Hedberg <[email protected]>1 parent 82083a9 commit dbfc2eb
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4097 | 4097 | | |
4098 | 4098 | | |
4099 | 4099 | | |
4100 | | - | |
4101 | | - | |
| 4100 | + | |
4102 | 4101 | | |
4103 | 4102 | | |
4104 | 4103 | | |
| |||
0 commit comments