mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
If we're in range of multiple known WiFi Access Points (including multiple instances of the same SSID), we don't need to keep trying to connect after the first successful connection. Minimal change would have been replacing the return inside the foreach function with return [a non-nil value]. But foreach is deprecated, and since I was touching the code anyhow, I figured I'd do that tiny update as well.