[Kernel] More adjustment to XNotification spam filter

This commit is contained in:
Cancerous 2019-12-05 09:37:13 -05:00 committed by illusion
parent 912b00335c
commit efc28a26b5
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ void XNotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
// TODO(Gliniak): (confirm) mask 0x01 means accept all
XELOGI("XnotifyListener::EnqueueNotification( Mask: %.8X ID: %.8X Drop?:(%X) )",
mask_, id,
((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0)));
if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0)) {
((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0)));
if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0)) {
return;
}