summarylogtreecommitdiffstats
path: root/unbork.diff
blob: 88355990ee37c51bb2d8cb045a8c2429f6a397af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/ibdump.c b/ibdump.c
index a9405b7..500579d 100644
--- a/ibdump.c
+++ b/ibdump.c
@@ -998,9 +998,9 @@ int set_sw_sniffer(struct resources *res, int mode, int is_tx, int is_rx)
     if ((res->dev_rev_id == DI_CIB) || (res->dev_rev_id == DI_CX4) ||
         (res->dev_rev_id == DI_CX4LX) || (res->dev_rev_id == DI_CX5) ||
         (res->dev_rev_id == DI_CX6) || (res->dev_rev_id == DI_CX6DX) ||
-        (res->dev_rev_id == DI_CX7) || (res->dev_rev_id != DI_CX8) ||
-        (res->dev_rev_id != DI_BF2) || (res->dev_rev_id != DI_BF2A1) ||
-        (res->dev_rev_id != DI_BF3) || (res->dev_rev_id != DI_BF4))
+        (res->dev_rev_id == DI_CX7) || (res->dev_rev_id == DI_CX8) ||
+        (res->dev_rev_id == DI_BF2) || (res->dev_rev_id == DI_BF2A1) ||
+        (res->dev_rev_id == DI_BF3) || (res->dev_rev_id == DI_BF4))
     {
         return fifth_gen_set_sw_sniffer(res, mode);
     }