[PATCH 3.2 151/153] RDMA/ucma: Check that device is connected prior to access it