summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2017-01-19 14:28:08 -0600
committerKalle Valo <kvalo@codeaurora.org>2017-01-20 12:06:10 +0200
commit106e0deca1ac6ac627a10617fe77a95200cb01a7 (patch)
tree34ea5ce0952c1122cca17117817519cd96e441e3 /drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.h
parent69d8597e9fe5ca76da8ad18245d51af96cf8457a (diff)
rtlwifi: rtl8192cu: Convert driver to use common macros
These drivers use a set of complicated macros to extract and insert information for the RX and TX descriptors. Driver rtl8192cu had a different set than was used for the PCI-based drivers. To simplify the code, rtl8192cu is switched to use the common version. In the process, two errors in those common macros were found and fixed. Besides simplifying the code, there is an additional benefit. We have no BE hardware to test the PCI driver, but using the common macros provides an additional test for the validity of many endian-sensitive operations. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.h')
0 files changed, 0 insertions, 0 deletions