diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-20 15:29:36 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-20 15:29:36 -0400 |
commit | 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 (patch) | |
tree | 5dd548fbe2fdabecebde7e6cca0665730f3c767b /drivers/infiniband | |
parent | 7150bf8a98f14f1ba67e090ef2778004c746f465 (diff) |
[IB] cm: Add missing break in switch
Add missing "break" in switch statement. Without the break, the
CM ended up always falling through and setting every connection
request to use RC transport, which meant that UC connections
didn't work.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/cm_msgs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h index 813ab70bf6d5..4d3aee90c249 100644 --- a/drivers/infiniband/core/cm_msgs.h +++ b/drivers/infiniband/core/cm_msgs.h | |||
@@ -186,6 +186,7 @@ static inline void cm_req_set_qp_type(struct cm_req_msg *req_msg, | |||
186 | req_msg->offset40 = cpu_to_be32((be32_to_cpu( | 186 | req_msg->offset40 = cpu_to_be32((be32_to_cpu( |
187 | req_msg->offset40) & | 187 | req_msg->offset40) & |
188 | 0xFFFFFFF9) | 0x2); | 188 | 0xFFFFFFF9) | 0x2); |
189 | break; | ||
189 | default: | 190 | default: |
190 | req_msg->offset40 = cpu_to_be32(be32_to_cpu( | 191 | req_msg->offset40 = cpu_to_be32(be32_to_cpu( |
191 | req_msg->offset40) & | 192 | req_msg->offset40) & |