Skip to content
Commit ec97423a authored by Levente Kurusa's avatar Levente Kurusa Committed by Greg Kroah-Hartman
Browse files

staging: rtl8821ae: fix invalid bit mask on MSR_AP check



Since MSR_AP is 0x3, ANDing it with 0xFC will never be true.
Add a NOT operation to 0xFC so that we will AND with the last
three bits which will result in a possibility that the condition
will succeed.

Signed-off-by: default avatarLevente Kurusa <levex@linux.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a37d70eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment