commit | f57b780c0000a56b5e51df5f94a35828bb5e6a7a | [log] [tgz] |
---|---|---|
author | Hariprasad S <hariprasad@chelsio.com> | Tue Sep 08 09:56:59 2015 +0530 |
committer | Doug Ledford <dledford@redhat.com> | Wed Oct 21 17:16:10 2015 -0400 |
tree | d081af0450bb22589b43b77375b72829ddc63fc1 | |
parent | 158c776dba1f6b5eb2e3d5327cda719dc4820c1c [diff] |
iw_cxgb4: fix misuse of ep->ord for minimum ird calculation When calculating the minimum ird in c4iw_accept_cr(), we need to always have a value of at least 1 if the RTR message is a 0B read. The code was incorrectly using ep->ord for this logic which was incorrectly adjusting the ird and causing incorrect ord/ird negotiation when using MPAv2 to negotiate these values. Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Doug Ledford <dledford@redhat.com>