]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8192cu: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 1 Sep 2019 15:47:04 +0000 (10:47 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:32:16 +0000 (16:32 +0300)
commitcb62f435c49b90a1b6cf0b7d7f16a3acb0f4b56c
tree9d26dc119b658ff5b6129bdaa041a6a899376ff3
parentd738aa64d3cd4def1ea3dd32ea7f1d0db5551e0b
rtlwifi: rtl8192cu: Replace local bit manipulation macros

This driver uses a set of local macros to manipulate the TX and RX
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/rtl8192cu/trx.h