rtlwifi: rtl8821ae: Fix incorrect returned values
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 3 Sep 2019 01:18:11 +0000 (20:18 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:34:23 +0000 (16:34 +0300)
commit3bf404b470f9295135b7c93cddc78d7a5888e6d5
tree1e751ee360f270d3aa85f8e6bb8c4eed0317d8f2
parentafd708f74f1ea65249678bda4e4b1f330b1f4bb3
rtlwifi: rtl8821ae: Fix incorrect returned values

In commit bd421dab7515 ("rtlwifi: rtl8821ae: Convert macros that set
descriptor"), all the routines that get fields from a descriptor
were changed to return signed integer values. This is incorrect for the
routines that get the entire 32-bit word. In this case, an unsigned
quantity is required.

Fixes: bd421dab7515 ("rtlwifi: rtl8821ae: Convert macros that set descriptor")
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