cnic: Fix race conditions with firmware