]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d525fc0bcdf45e67593fac629322b5da163cfce
tree1e751ee360f270d3aa85f8e6bb8c4eed0317d8f2
parentb7609dfcbf4fd989a47a820f77e0e77871857a7a
rtlwifi: rtl8821ae: Fix incorrect returned values

In commit 5fe507d159bc ("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: 5fe507d159bc ("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