Larry Finger 3544f9f150 rtlwifi: rtl8192c-common: Fix two typos
In this driver, two variables are masked by one quantity, and then tested
against a second number with more bits that the mask. Accordingly, the
test always fails. To minimize the possibility of such typos, a symbolic
definition of the mask is created and used.

The separate load and mask operations are also combined into a single
statement.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: David Binderman <dcb314@hotmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-08-13 15:32:49 +03:00
..
2015-06-15 12:30:20 +03:00
2015-05-26 14:04:56 +03:00
2015-05-26 13:56:31 +03:00
2015-05-26 13:56:31 +03:00
2015-04-28 13:55:28 +03:00