]> 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)
commite45da01dc89074110634139098cd77c4a682a376
tree9d26dc119b658ff5b6129bdaa041a6a899376ff3
parent3ff43ca290508995d782a111c476b06f3e6b9e65
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