[PATCH 6.1 17/73] wifi: iwlwifi: clear trans->state earlier upon error