[PATCH 6.12 185/369] RDMA/hns: Fix HW configurations not cleared in error flow