]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8821ae: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 20 May 2019 17:23:58 +0000 (12:23 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:34:59 +0000 (15:34 +0300)
commit5fe507d159bc5b17bc5c3f993ad9b60cd2d40803
tree19770d88bdc8d7b661e970f460bcd0859e027fd8
parent8109ab74ab662aade86f7a294be5057dd13b94e6
rtlwifi: rtl8821ae: Convert macros that set descriptor

As a first step in the conversion, the macros that set the RX and TX
descriptors are converted to static inline routines, and the names are
changed from upper to lower case. To minimize the changes in a given
step, the input descriptor information is left as as a byte array
(u8 *), even though it should be a little-endian word array (__le32 *).
That will be changed later.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h