diff options
| author | 2016-07-14 11:21:28 +0100 | |
|---|---|---|
| committer | 2016-08-21 18:35:46 +0200 | |
| commit | 9731ee897356c9077995b0c454fe19f7fa93ea5d (patch) | |
| tree | 49a0767cb32bac671f52fd3d2d91c2414cd73e0e /scripts/stackusage | |
| parent | staging: fsl-mc: make bus/mc-bus explicitly non-modular (diff) | |
staging: rtl8723au: hal: check BT_Active and BT_State with correct bit pattern
BT_Active and BT_State are being masked with 0x00ffffff so it the subsequent
comparisons with 0xffffffff are therefore a buggy check. Instead, check them
against 0x00ffffff.
Unfortunately I couldn't find a datasheet or hardware to see if 0xffffffff
is an expected invalid bit pattern that should be checked before BT_Active and
BT_State are masked with 0x00ffffff, so for now, this fix seems like the least
risky approach.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
