]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8821ae: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 20 May 2019 17:23:57 +0000 (12:23 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:34:58 +0000 (15:34 +0300)
commit2550039d52d868820d9028ff6cccb567b716dd85
tree4fd31b158092c04101ece471316f79479b42bbbc
parent23bdfb8fd0920a011b68e03492bb56f32e55cf54
rtlwifi: rtl8821ae: Replace local bit manipulation macros

This driver uses a set of local macros to manipulate the RX and TX
descriptors, which are all little-endian quantities. These macros
are replaced by the bitfield macros le32p_replace_bits() and
le32_get_bits(). In several places, the macros operated on an entire
32-bit word. In these cases, a direct read or replacement is used.

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