ath10k: re-enable the firmware fallback mechanism for testmode
authorAndres Rodriguez <andresx7@gmail.com>
Thu, 10 May 2018 20:08:47 +0000 (13:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:44:41 +0000 (16:44 +0200)
commit1bc4d68b06ab913d392c8ad6481b9729bd58b8d5
tree180d03e13ce6c6bbc1596ef3ce73547ca6d1941a
parentc8e028026387ea2d520a502971cfa21f8cc8212d
ath10k: re-enable the firmware fallback mechanism for testmode

The ath10k testmode uses request_firmware_direct() in order to avoid
producing firmware load warnings. Disabling the fallback mechanism was a
side effect of disabling warnings.

We now have a new API that allows us to avoid warnings while keeping the
fallback mechanism enabled. So use that instead.

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath10k/testmode.c