diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2017-12-29 16:31:09 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-08 19:07:45 +0200 |
commit | 981a2b6e055bce9a9f780fb074ffdf9a9bab0d47 (patch) | |
tree | 9b0c71a0b51c0d9a3e8ea9ac686c797f1589aadb /drivers/net/wireless/realtek/rtlwifi/debug.c | |
parent | d63589cb1fb554df75bebe13ee2fd84e6c7452e3 (diff) |
rtlwifi: rtl8723: Add error handling to no existing firmware
Without firmware, driver wastes time to download and wait for MCU bootup,
and then kernel core dump finally. If request_firmware fails, the value
max_fw_size=0 is set, so we check the value before downloading firmware.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/debug.c')
0 files changed, 0 insertions, 0 deletions