Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3910f44d authored by Roland Dreier's avatar Roland Dreier
Browse files

[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: default avatarRoland Dreier <rolandd@cisco.com>
parent 7150bf8a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -186,6 +186,7 @@ static inline void cm_req_set_qp_type(struct cm_req_msg *req_msg,
		req_msg->offset40 = cpu_to_be32((be32_to_cpu(
						  req_msg->offset40) &
						   0xFFFFFFF9) | 0x2);
		break;
	default:
		req_msg->offset40 = cpu_to_be32(be32_to_cpu(
						 req_msg->offset40) &