From: Larry Finger Date: Mon, 3 Aug 2015 21:15:53 +0000 (-0500) Subject: rtlwifi: rtl8192c-common: Fix two typos X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~124^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3544f9f150bb58a3678c161a505b186893971c8a;p=pandora-kernel.git 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 Signed-off-by: Larry Finger Cc: David Binderman Signed-off-by: Kalle Valo --- Reading git-diff-tree failed