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)
commit56b84287d14aa74823a9c290d0c5839d38365110
tree69eba83744bf1a8c3b0e7d8e1febb5f1f510efda
parentb9ada65d97be58d82941f23dce5adde0d0eec61a
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