rtlwifi: rtl8192ce: Fix incorrect returned values
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 3 Sep 2019 01:18:13 +0000 (20:18 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:34:25 +0000 (16:34 +0300)
commitfe025ef7d066752d9924748b8b4f32aa75b81fb1
tree367b041bc3636094b7796b43a8070b558c2242c1
parent38fcdcbd3def356f3d637b68a2aeebd9dcdfdba3
rtlwifi: rtl8192ce: Fix incorrect returned values

In commit 98fd8db59a00 ("rtlwifi: rtl8192ce: 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: 98fd8db59a00 ("rtlwifi: rtl8192ce: 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/rtl8192ce/trx.h