[MTHCA] Return wc_type = IB_WC_SEND as default in WC processing
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 29 Mar 2006 18:18:11 +0000 (18:18 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 29 Mar 2006 18:18:11 +0000 (18:18 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@261 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mthca/kernel/mthca_cq.c

index 12564ba..f0943e4 100644 (file)
@@ -548,7 +548,7 @@ static inline int mthca_poll_one(struct mthca_dev *dev,
                        entry->wc_type    = IB_WC_MW_BIND;
                        break;
                default:
-                       entry->wc_type    = MTHCA_OPCODE_INVALID;
+                       entry->wc_type    = IB_WC_SEND;
                        break;
                }
        } else {