]> 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)
commit320710ed4bb4fc6b06430299045d026738d1ef19
tree69eba83744bf1a8c3b0e7d8e1febb5f1f510efda
parent0625390098c162c517a0d6b9454f5930e4640222
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