rtlwifi: Fix duplicate tests of one of the RX descriptors
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 4 Apr 2019 18:29:30 +0000 (13:29 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Apr 2019 11:15:44 +0000 (14:15 +0300)
commit0961d9874a2e504ecaedf563bb3c73628a0a7088
tree604fd9c00d850f48779b8a5ec50e80e9ff2fb3c3
parenta927e8d8ab57e696800e20cf09a72b7dfe3bbebb
rtlwifi: Fix duplicate tests of one of the RX descriptors

In drivers rtl8188ee, rtl8821ae, rtl8723be, and rtl8192ee, the reason
for a wake-up is returned in the fourth RX descriptor in bits 29-31. Due
to typographical errors, all but rtl8821ae test bit 31 twice and fail to
test bit 29.

This error causes no problems as the tests are only used to set bits in
the output of an optional debugging statement.

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