ath10k: add a_sle32_to_cpu()
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Oct 2015 14:56:37 +0000 (17:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 6 Oct 2015 11:42:51 +0000 (14:42 +0300)
commit3b8fc902e33e65dd859c0f974c0097b177eeb695
tree203b98010116e734044aef8dcc37b5a58ec1ab4c
parent2a995088c5aec38db6ffbac96c404f75c7dd9d2c
ath10k: add a_sle32_to_cpu()

Copy a_sle32_to_cpu() from ath6kl so that we can easily handle signed __le32
values. This is needed in struct wmi_pdev_tpc_config_event.

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