diff options
author | Luiz Carlos Ramos <lramos.prof@yahoo.com.br> | 2018-09-27 22:19:26 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-09-28 19:27:50 +0200 |
commit | d6b372f6f3dba1f496d6583a30a584e4dd324e77 (patch) | |
tree | 448a0b00467cbdb5394b79eb1d6101c3bd79d262 /net/bluetooth/smp.c | |
parent | Bluetooth: bt3c_cs: Fix obsolete function (diff) | |
download | linux-d6b372f6f3dba1f496d6583a30a584e4dd324e77.tar.xz linux-d6b372f6f3dba1f496d6583a30a584e4dd324e77.zip |
Bluetooth: ath3k: add more information to error message
When there is an error in either ath3k_load_firmware() or
ath3k_load_fwfile(), the inlined function ath3k_log_failed_loading() is
called receiving the error returned and both the block size requested to
load and the size actually loaded. These values are printed in an error
message using the macro BT_ERR.
This patch changes that function in order to print the variable "count"
as well, to show more information when a failing firmware loading
operation happens. The calls to the older function were changed to the
new one.
This event is being monitored in a laptop with an adapter which
identifies itself as 0cf3:0036, where sometimes there are errors in the
firmware loading process.
Signed-off-by: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions