OSDN Git Service

ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg
authorErik Stromdahl <erik.stromdahl@gmail.com>
Tue, 26 Mar 2019 16:29:03 +0000 (17:29 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 12:47:15 +0000 (15:47 +0300)
commit74ee5715991f9d7d2fb8269ec60b0f914d78315e
treec5f6215347bce306b71e8a91ad0825e9611a3696
parent889ca18093423af7bf224416fe7548a7e13e82fc
ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg

This is done in order to make the *htt_h2t_aggr_cfg_msg* op align better
with the rest of the htt ops (whom all have inline wrappers).

It also adds support for the case when the op is missing (function
pointer is NULL).

As a result of this, the name of the 32 bit implementation in htt_tx.c
was changed and the function was made static.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c