Cisco Systems reached an agreement Thursday with patent firm Innovatio IP Ventures to end a legal battle over Wi-Fi patents that targeted thousands of individual chain hotels and coffee shops offering Internet access.

Under the settlement, Cisco will pay $2.7 million to protect customers using 170 million Cisco devices. Innovatio admitted that over 100 million of the accused devices were already licensed and agreed to be paid 3.2 cents per wireless device for the remaining 85 million units, according to a blog post by Cisco General Counsel Mark Chandler.