From: Bart Van Assche Date: Sun, 25 Dec 2011 12:18:12 +0000 (+0000) Subject: IB/srp: Suppress superfluous error messages X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~23^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=294c875a65269361defd7aeb97804ba99eb57cbf;p=pandora-kernel.git IB/srp: Suppress superfluous error messages Keep track of the connection state. Only report QP errors while connected. Only invoke ib_send_cm_dreq() when connected so that invoking srp_disconnect_target() after having received a DREQ does not cause an error message to be printed. Signed-off-by: Bart Van Assche Acked-by: David Dillow Signed-off-by: Roland Dreier --- Reading git-diff-tree failed