[PATCH] ipa: Be consistent in checking conn->cfg (Coverity)