]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add might_sleep() to ath10k_wmi_cmd_send()
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Oct 2013 12:44:47 +0000 (15:44 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 16 Oct 2013 12:44:47 +0000 (15:44 +0300)
commitd432fc23b6f9008f5a4fbc25aa68698f6f59700a
tree69eba83744bf1a8c3b0e7d8e1febb5f1f510efda
parent917f51cd87555cf65e0ab5f40a7fdf52450e8963
ath10k: add might_sleep() to ath10k_wmi_cmd_send()

ath10k_wmi_cmd_send() will now sleep if there are no credits available.
To make it easier to catch callers in atomic context add might_sleep()
to the function.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c