bluetooth: btmrvl: print filename of firmware in error msg
PATCH 1/1 bluetooth: btmrvl: print filename of firmware in error msg
When the firmware file cannot be loaded, print the filename in the error message. So the user has a clue which file is missing.
Signed-off-by Stefan Christ <[email protected]>
--- drivers/bluetooth/btmrvl_sdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/btmrvl_sdio.c +2 -2
@@ -490,8 +490,8 @@ static int btmrvl_sdio_download_fw_w_helper(struct btmrvl_sdio_card *card) ret =request_firmware (&fw_firmware, card->firmware, &card->func->dev);if ((ret <0 ) || !fw_firmware) { -BT_ERR ("request_firmware(firmware) failed, error code = %d" , - ret); +BT_ERR ("Requesting firmware %s failed, error code = %d" , + card->firmware, ret); ret = -ENOENT ; goto done; }
Signature · 1 line
1.9.1