The Patriot Act strengthened the powers of the border guards, for example by removing any limitations on the number of people employed in it and by securing additional funds.
The link to immigration is that it would limit illegal immigration to the US and make the process of entering US soil more difficult.